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.

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

Powered by TurnKey Linux.