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.

147 lines
6.5 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="alternate" type="application/rss+xml" title="{{ site.title }}(RSS)" href="{{ "/rss.xml" | absolute_url }}" />
  10. <link rel="alternate" type="application/json" title="{{ site.title }}(JSON Feed)" href="{{ "/feed.json" | absolute_url }}" />
  11. <link rel="stylesheet" href="/assets/css/style.css?v={{ site.time | date: "%s" }}" />
  12. <link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
  13. <link rel="blogroll" type="text/xml" href="/blogroll.opml" />
  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 !IE]> -->
  18. <script src="/assets/js/jquery.min.js"></script>
  19. {% if site.google_analytics %}
  20. <!-- Global site tag (gtag.js) - Google Analytics -->
  21. <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
  22. <script>
  23. window.dataLayer = window.dataLayer || [];
  24. function gtag(){dataLayer.push(arguments);}
  25. gtag('js', new Date());
  26. gtag('config', '{{ site.google_analytics }}');
  27. </script>
  28. {% endif %}
  29. <script>
  30. var lastUpdated = new Date("{{ site.time | date_to_xmlschema }}");
  31. var BlogAPI = "https://summary.mayx.eu.org";
  32. function getSearchJSON(callback) {
  33. var searchData = JSON.parse(localStorage.getItem("blog_" + lastUpdated.valueOf()));
  34. if (!searchData) {
  35. for (var i = 0; i < localStorage.length; i++) {
  36. var key = localStorage.key(i);
  37. if (key.startsWith('blog_')) {
  38. localStorage.removeItem(key);
  39. }
  40. }
  41. $.getJSON("/search.json", function (data) {
  42. localStorage.setItem("blog_" + lastUpdated.valueOf(), JSON.stringify(data));
  43. callback(data);
  44. });
  45. } else {
  46. callback(searchData);
  47. }
  48. }
  49. </script>
  50. <script src="/assets/js/instant.page.js" type="module"></script>
  51. <!-- <![endif]-->
  52. </head>
  53. <body>
  54. <!--[if !IE]> --><noscript><marquee style="top: -15px; position: relative;"><small>发现当前浏览器没有启用JavaScript,这不影响你的浏览,但可能会有一些功能无法使用……</small></marquee></noscript><!-- <![endif]-->
  55. <!--[if IE]><marquee style="top: -15px; position: relative;"><small>发现当前浏览器为Internet Explorer,这不影响你的浏览,但可能会有一些功能无法使用……</small></marquee><![endif]-->
  56. <div class="wrapper">
  57. <header>
  58. <h1><a href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
  59. {% if site.logo %}
  60. <img src="{{ site.logo }}" alt="Logo" />
  61. {% endif %}
  62. <p>{{ site.description | default: site.github.project_tagline }}</p>
  63. <p>
  64. <form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />
  65. <input type="submit" />
  66. </form>
  67. </p>
  68. {% if site.github.is_project_page %}
  69. <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub
  70. <small>{{ site.github.repository_nwo }}</small></a></p>
  71. {% endif %}
  72. {% if site.github.is_user_page %}
  73. <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
  74. {% endif %}
  75. <p class="view"><a href="/Mabbs/">About Me</a></p>
  76. <ul class="downloads">
  77. {% if site.github %}
  78. <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
  79. <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
  80. <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
  81. {% else %}
  82. <li style="width: 270px;border-right:0px;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li>
  83. {% endif %}
  84. </ul>
  85. </header>
  86. <section>
  87. {{ content }}
  88. </section>
  89. <!--[if !IE]> -->
  90. <div id="landlord" style="left:5px;bottom:0px;">
  91. <div class="message" style="opacity:0"></div>
  92. <canvas id="live2d" width="500" height="560" class="live2d"></canvas>
  93. <div class="live_talk_input_body">
  94. <div class="live_talk_input_name_body" {% unless page.layout == "post" %}style="display:none;"{% endunless %}>
  95. <input type="checkbox" id="load_this" />
  96. <input type="hidden" id="post_id" value="{{ page.url }}" />
  97. <label for="load_this">
  98. <span style="font-size: 11px; color: #fff;">&nbsp;想问这篇文章</span>
  99. </label>
  100. </div>
  101. <div class="live_talk_input_text_body">
  102. <input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀?" />
  103. <button type="button" class="live_talk_send_btn" id="talk_send">发送</button>
  104. </div>
  105. </div>
  106. <input name="live_talk" id="live_talk" value="1" type="hidden" />
  107. <div class="live_ico_box" style="display:none;">
  108. <div class="live_ico_item type_info" id="showInfoBtn"></div>
  109. <div class="live_ico_item type_talk" id="showTalkBtn"></div>
  110. <div class="live_ico_item type_music" id="musicButton"></div>
  111. <div class="live_ico_item type_youdu" id="youduButton"></div>
  112. <div class="live_ico_item type_quit" id="hideButton"></div>
  113. <input name="live_statu_val" id="live_statu_val" value="0" type="hidden" />
  114. <audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
  115. <input id="duType" value="douqilai" type="hidden" />
  116. </div>
  117. </div>
  118. <div id="open_live2d">召唤伊斯特瓦尔</div>
  119. <!-- <![endif]-->
  120. <footer>
  121. <p>
  122. <small>Made with ❤ by Mayx<br />Last updated at {{ site.time | date: "%F %T" }}<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>
  123. </p>
  124. </footer>
  125. </div>
  126. <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
  127. <!--[if !IE]> -->
  128. <script src="/assets/js/main.js"></script>
  129. <script src="/Live2dHistoire/live2d/js/live2d.js"></script>
  130. <script src="/Live2dHistoire/live2d/js/message.js"></script>
  131. <!-- <![endif]-->
  132. </body>
  133. </html>

Powered by TurnKey Linux.