Mayx's Home Page
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.

111 lines
5.5 KiB

  1. ---
  2. layout: xslt_container
  3. ---
  4. <html lang="{{ site.lang | default: "zh-CN" }}">
  5. <head>
  6. <meta charset="UTF-8" />
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1" />
  9. {% seo %}
  10. {% if page.robots %}<meta name="robots" content="{{ page.robots }}" />{% endif %}
  11. {% unless site.github %}<link rel="canonical" href="https://mabbs.github.io{{ page.url }}" />{% endunless %}
  12. {% feed_meta %}
  13. <link rel="alternate" type="application/rss+xml" title="{{ site.title }}(RSS)" href="{{ "/rss.xml" | absolute_url }}" />
  14. <link rel="alternate" type="application/json" title="{{ site.title }}(JSON Feed)" href="{{ "/feed.json" | absolute_url }}" />
  15. <link rel="stylesheet" href="/assets/css/style.css?v={{ site.time | date: "%s" }}" />
  16. <!--[if !IE]> -->
  17. <link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
  18. <!-- <![endif]-->
  19. <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="{{ site.title }}" />
  20. <link rel="webmention" href="https://webmention.io/mabbs.github.io/webmention" />
  21. <link rel="pingback" href="https://webmention.io/mabbs.github.io/xmlrpc" />
  22. <link rel="preconnect" href="https://summary.mayx.eu.org" crossorigin="anonymous" />
  23. <link rel="prefetch" href="https://www.blogsclub.org/badge/mabbs.github.io" as="image" />
  24. <link rel="blogroll" type="text/xml" href="/blogroll.opml" />
  25. <link rel="me" href="https://github.com/Mabbs" />
  26. <script src="/assets/js/jquery.min.js"></script>
  27. <!--[if lt IE 9]>
  28. <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
  29. <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-ajaxtransport-xdomainrequest/1.0.3/jquery.xdomainrequest.min.js"></script>
  30. <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
  31. <![endif]-->
  32. <script>
  33. var lastUpdated = new Date("{{ site.time | date_to_rfc822 }}");
  34. var BlogAPI = "https://summary.mayx.eu.org";
  35. </script>
  36. <script src="/assets/js/main.js"></script>
  37. <!--[if !IE]> -->
  38. {% if site.google_analytics %}
  39. <!-- Global site tag (gtag.js) - Google Analytics -->
  40. <script async="async" src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
  41. <script>
  42. window.dataLayer = window.dataLayer || [];
  43. function gtag(){dataLayer.push(arguments);}
  44. gtag('js', new Date());
  45. gtag('config', '{{ site.google_analytics }}');
  46. </script>
  47. {% endif %}
  48. <script src="/assets/js/instant.page.js" type="module"></script>
  49. <!-- <![endif]-->
  50. </head>
  51. <body>
  52. <!--[if !IE]> --><noscript><marquee style="top: -15px; position: relative;"><small>发现当前浏览器没有启用JavaScript,这不影响你的浏览,但可能会有一些功能无法使用……</small></marquee></noscript><!-- <![endif]-->
  53. <!--[if IE]><marquee style="top: -15px; position: relative;"><small>发现当前浏览器为Internet Explorer,这不影响你的浏览,但可能会有一些功能无法使用……</small></marquee><![endif]-->
  54. <div class="wrapper">
  55. <header class="h-card">
  56. <h1><a class="u-url u-uid p-name" rel="me" href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
  57. {% if site.logo %}
  58. <img src="{{ site.logo }}" fetchpriority="high" class="u-photo" alt="Logo" style="width: 90%; max-width: 300px; max-height: 300px; border-radius: 25%;" />
  59. {% endif %}
  60. <p class="p-note">{{ site.description | default: site.github.project_tagline }}</p>
  61. <form action="/search.html">
  62. <input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />&#160;<input type="submit" value="搜索" />
  63. </form>
  64. <br />
  65. {% if site.github.is_project_page %}
  66. <p class="view"><a class="u-url" href="{{ site.github.repository_url }}">View the Project on GitHub
  67. <small>{{ site.github.repository_nwo }}</small></a></p>
  68. {% endif %}
  69. {% if site.github.is_user_page %}
  70. <p class="view"><a class="u-url" href="{{ site.github.owner_url }}" rel="me">View My GitHub Profile</a></p>
  71. {% endif %}
  72. <p class="view"><a class="u-url" href="/Mabbs/">About me</a></p>
  73. <ul class="downloads">
  74. {% if site.github %}
  75. <li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
  76. <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
  77. <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
  78. {% else %}
  79. <li style="width: 270px; border-right: none;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li>
  80. {% endif %}
  81. </ul>
  82. </header>
  83. <section{% unless page.layout == "default" %} class="h-entry"{% endunless %}>
  84. {{ content }}
  85. </section>
  86. {% include live2d.html %}
  87. <footer>
  88. <p>
  89. <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="/rss.xml">Feed</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small>
  90. </p>
  91. </footer>
  92. </div>
  93. <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
  94. <!--[if !IE]> -->
  95. <script src="/assets/js/main_new.js"></script>
  96. <script src="/Live2dHistoire/live2d/js/live2d.js"></script>
  97. <script src="/Live2dHistoire/live2d/js/message.js"></script>
  98. <!-- <![endif]-->
  99. </body>
  100. </html>