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.

164 lines
6.5 KiB

  1. <!DOCTYPE html>
  2. <html>
  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. <!-- <![endif]-->
  13. <script src="//cdn.jsdelivr.net/npm/jquery@1.9.1/jquery.min.js"></script>
  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. var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}");
  26. Date.prototype.format = function(fmt) {
  27. var o = {
  28. "M+" : this.getMonth()+1, //月份
  29. "d+" : this.getDate(), //日
  30. "h+" : this.getHours(), //小时
  31. "m+" : this.getMinutes(), //分
  32. "s+" : this.getSeconds(), //秒
  33. "q+" : Math.floor((this.getMonth()+3)/3), //季度
  34. "S" : this.getMilliseconds() //毫秒
  35. };
  36. if(/(y+)/.test(fmt)) {
  37. fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));
  38. }
  39. for(var k in o) {
  40. if(new RegExp("("+ k +")").test(fmt)){
  41. fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));
  42. }
  43. }
  44. return fmt;
  45. }
  46. </script>
  47. {% endif %}
  48. <style>
  49. .backToTop {
  50. display: none;
  51. width: 18px;
  52. line-height: 1.2;
  53. padding: 5px 0;
  54. background-color: #000;
  55. color: #fff;
  56. font-size: 12px;
  57. text-align: center;
  58. position: fixed;
  59. _position: absolute;
  60. right: 10px;
  61. bottom: 100px;
  62. _bottom: "auto";
  63. cursor: pointer;
  64. opacity: .6;
  65. filter: Alpha(opacity=60);
  66. }
  67. </style>
  68. </head>
  69. <body>
  70. <div class="wrapper">
  71. <header>
  72. <h1><a href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
  73. {% if site.logo %}
  74. <img src="{{ site.logo | relative_url}}" alt="Logo" />
  75. {% endif %}
  76. <p>{{ site.description | default: site.github.project_tagline }}</p>
  77. <p><form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.."> <input type="submit"></form></p>
  78. {% if site.github.is_project_page %}
  79. <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
  80. {% endif %}
  81. {% if site.github.is_user_page %}
  82. <p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
  83. {% endif %}
  84. <a href="{{ "/Mabbs/" | relative_url }}">About Me</a>
  85. <ul class="downloads">
  86. {% if site.github %}
  87. <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
  88. <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
  89. <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
  90. {% else %}
  91. <li><a href="/MayxBlog.tgz">Download <strong>TAR File</strong></a></li>
  92. {% endif %}
  93. </ul>
  94. </header>
  95. <section>
  96. {{ content }}
  97. </section>
  98. <!--[if !IE]> -->
  99. <div id="landlord" style="left:5px;bottom:0px;">
  100. <div class="message" style="opacity:0"></div>
  101. <canvas id="live2d" width="500" height="560" class="live2d"></canvas>
  102. <div class="live_talk_input_body">
  103. <div class="live_talk_input_name_body" style="display:none;">
  104. <input name="name" type="hidden" class="live_talk_name white_input" id="AIuserName" value="Mayx_Blog_Talk" />
  105. </div>
  106. <div class="live_talk_input_text_body">
  107. <input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀?"/>
  108. <button type="button" class="live_talk_send_btn" id="talk_send">发送</button>
  109. </div>
  110. </div>
  111. <input name="live_talk" id="live_talk" value="1" type="hidden" />
  112. <div class="live_ico_box" style="display:none;">
  113. <div class="live_ico_item type_info" id="showInfoBtn"></div>
  114. <div class="live_ico_item type_talk" id="showTalkBtn"></div>
  115. <div class="live_ico_item type_music" id="musicButton"></div>
  116. <div class="live_ico_item type_youdu" id="youduButton"></div>
  117. <div class="live_ico_item type_quit" id="hideButton"></div>
  118. <input name="live_statu_val" id="live_statu_val" value="0" type="hidden" />
  119. <audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
  120. <input id="duType" value="douqilai" type="hidden">
  121. </div>
  122. </div>
  123. <div id="open_live2d">召唤伊斯特瓦尔</div>
  124. <!-- <![endif]-->
  125. <footer>
  126. {% if site.github.is_project_page %}
  127. <p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
  128. {% endif %}
  129. <p><small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.format("yyyy-MM-dd hh:mm:ss"));</script><br /> 总字数:{% assign count = 0 %}
  130. {% for post in site.posts %}
  131. {% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}
  132. {% assign count = count | plus: single_count %}
  133. {% endfor %}
  134. {% if count > 10000 %}
  135. {{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }}
  136. {% else %}
  137. {{ count }}
  138. {% endif %} - 文章数:{% for post in site.posts %}
  139. {% assign co = co | plus: 1 %}
  140. {% endfor %}{{ co }} - <a href="{{ "/atom.xml" | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small></p>
  141. </footer>
  142. </div>
  143. <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
  144. <script src="/js/main.js"></script>
  145. <!--[if !IE]> -->
  146. <script src="/Live2dHistoire/live2d/js/live2d.js"></script>
  147. <script src="/Live2dHistoire/live2d/js/message.js"></script>
  148. <!-- <![endif]-->
  149. </body>
  150. </html>

Powered by TurnKey Linux.