Mayx's Home Page https://mabbs.github.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

144 lines
5.7 KiB

  1. <!DOCTYPE html>
  2. <html lang="{{ site.lang | default: "zh-CN" }}">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. {% seo %}
  8. {% feed_meta %}
  9. <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
  10. <!--[if !IE]> -->
  11. <link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
  12. <script src="/assets/js/jquery.min.js"></script>
  13. <!-- <![endif]-->
  14. <!--[if lt IE 9]>
  15. <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
  16. <![endif]-->
  17. {% if site.google_analytics %}
  18. <!-- Global site tag (gtag.js) - Google Analytics -->
  19. <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
  20. <script>
  21. window.dataLayer = window.dataLayer || [];
  22. function gtag(){dataLayer.push(arguments);}
  23. gtag('js', new Date());
  24. gtag('config', '{{ site.google_analytics }}');
  25. </script>
  26. {% endif %}
  27. <script>
  28. var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}");
  29. var BlogAPI = "https://summary.mayx.eu.org";
  30. function getSearchJSON(callback) {
  31. var searchData = JSON.parse(localStorage.getItem("blog_" + lastUpdated.valueOf()));
  32. if (!searchData) {
  33. for (var i = 0; i < localStorage.length; i++) {
  34. var key = localStorage.key(i);
  35. if (key.startsWith('blog_')) {
  36. localStorage.removeItem(key);
  37. }
  38. }
  39. $.getJSON("/search.json", function (data) {
  40. localStorage.setItem("blog_" + lastUpdated.valueOf(), JSON.stringify(data));
  41. callback(data);
  42. });
  43. } else {
  44. callback(searchData);
  45. }
  46. }
  47. </script>
  48. <script src="/assets/js/instant.page.js" type="module"></script>
  49. </head>
  50. <body>
  51. <div class="wrapper">
  52. <header>
  53. <h1><a href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
  54. {% if site.logo %}
  55. <img src="{{ site.logo }}" alt="Logo" />
  56. {% endif %}
  57. <p>{{ site.description | default: site.github.project_tagline }}</p>
  58. <p>
  59. <form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts..">
  60. <input type="submit">
  61. </form>
  62. </p>
  63. {% if site.github.is_project_page %}
  64. <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub
  65. <small>{{ site.github.repository_nwo }}</small></a></p>
  66. {% endif %}
  67. {% if site.github.is_user_page %}
  68. <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
  69. {% endif %}
  70. <p class="view"><a href="/Mabbs/">About Me</a></p>
  71. <ul class="downloads">
  72. {% if site.github %}
  73. <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
  74. <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
  75. <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
  76. {% else %}
  77. <li style="width: 270px;border-right:0px;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li>
  78. {% endif %}
  79. </ul>
  80. </header>
  81. <section>
  82. {{ content }}
  83. </section>
  84. <!--[if !IE]> -->
  85. <div id="landlord" style="left:5px;bottom:0px;">
  86. <div class="message" style="opacity:0"></div>
  87. <canvas id="live2d" width="500" height="560" class="live2d"></canvas>
  88. <div class="live_talk_input_body">
  89. <div class="live_talk_input_name_body" {% unless page.layout == "post" %}style="display:none;"{% endunless %}>
  90. <input type="checkbox" id="load_this">
  91. <input type="hidden" id="post_id" value="{{ page.url }}">
  92. <label for="load_this">
  93. <span style="font-size: 11px; color: #fff;">&nbsp;想问这篇文章</span>
  94. </label>
  95. </div>
  96. <div class="live_talk_input_text_body">
  97. <input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀?"/>
  98. <button type="button" class="live_talk_send_btn" id="talk_send">发送</button>
  99. </div>
  100. </div>
  101. <input name="live_talk" id="live_talk" value="1" type="hidden" />
  102. <div class="live_ico_box" style="display:none;">
  103. <div class="live_ico_item type_info" id="showInfoBtn"></div>
  104. <div class="live_ico_item type_talk" id="showTalkBtn"></div>
  105. <div class="live_ico_item type_music" id="musicButton"></div>
  106. <div class="live_ico_item type_youdu" id="youduButton"></div>
  107. <div class="live_ico_item type_quit" id="hideButton"></div>
  108. <input name="live_statu_val" id="live_statu_val" value="0" type="hidden" />
  109. <audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
  110. <input id="duType" value="douqilai" type="hidden">
  111. </div>
  112. </div>
  113. <div id="open_live2d">召唤伊斯特瓦尔</div>
  114. <!-- <![endif]-->
  115. <footer>
  116. <p>
  117. <small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.toLocaleString());</script><br /> 总字数:{% include_cached word_count.html %} - 文章数:{{ site.posts.size }} - <a href="{{ site.feed.path | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small>
  118. </p>
  119. </footer>
  120. </div>
  121. <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
  122. <script src="/assets/js/main.js"></script>
  123. <!--[if !IE]> -->
  124. <script src="/Live2dHistoire/live2d/js/live2d.js"></script>
  125. <script src="/Live2dHistoire/live2d/js/message.js"></script>
  126. <!-- <![endif]-->
  127. </body>
  128. </html>

Powered by TurnKey Linux.