blog/_layouts/default.html

111 lines
5.4 KiB
HTML
Raw Normal View History

---
layout: xslt_container
---
<html lang="{{ site.lang | default: "zh-CN" }}">
2024-04-15 15:29:05 +08:00
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2024-04-15 15:29:05 +08:00
{% seo %}
{% unless site.github %}<link rel="canonical" href="https://mabbs.github.io{{ page.url }}"/>{% endunless %}
2024-04-15 15:29:05 +08:00
{% feed_meta %}
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}(RSS)" href="{{ "/rss.xml" | absolute_url }}" />
<link rel="alternate" type="application/json" title="{{ site.title }}(JSON Feed)" href="{{ "/feed.json" | absolute_url }}" />
<link rel="stylesheet" href="/assets/css/style.css?v={{ site.time | date: "%s" }}" />
<!--[if !IE]> -->
2024-04-15 15:29:05 +08:00
<link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
<!-- <![endif]-->
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="{{ site.title }}" />
2025-05-09 18:17:06 +08:00
<link rel="webmention" href="https://webmention.io/mabbs.github.io/webmention" />
<link rel="pingback" href="https://webmention.io/mabbs.github.io/xmlrpc" />
2025-06-01 14:35:20 +08:00
<link rel="preconnect" href="https://summary.mayx.eu.org" crossorigin="anonymous" />
<link rel="prefetch" href="https://www.blogsclub.org/badge/mabbs.github.io" as="image" />
<link rel="blogroll" type="text/xml" href="/blogroll.opml" />
2025-05-09 18:17:06 +08:00
<link rel="me" href="https://github.com/Mabbs" />
<script src="/assets/js/jquery.min.js"></script>
2024-04-15 15:29:05 +08:00
<!--[if lt IE 9]>
2022-01-04 20:42:55 +08:00
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-ajaxtransport-xdomainrequest/1.0.3/jquery.xdomainrequest.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
var lastUpdated = new Date("{{ site.time | date_to_rfc822 }}");
var BlogAPI = "https://summary.mayx.eu.org";
</script>
<script src="/assets/js/main.js"></script>
<!--[if !IE]> -->
2024-04-15 15:29:05 +08:00
{% if site.google_analytics %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="async" src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2024-04-15 15:29:05 +08:00
<script>
window.dataLayer = window.dataLayer || [];
2025-06-01 17:21:31 +08:00
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}');
</script>
{% endif %}
<script src="/assets/js/instant.page.js" type="module"></script>
<!-- <![endif]-->
2024-04-15 15:29:05 +08:00
</head>
2022-01-04 20:42:55 +08:00
2024-04-15 15:29:05 +08:00
<body>
<!--[if !IE]> --><noscript><marquee style="top: -15px; position: relative;"><small>发现当前浏览器没有启用JavaScript这不影响你的浏览但可能会有一些功能无法使用……</small></marquee></noscript><!-- <![endif]-->
<!--[if IE]><marquee style="top: -15px; position: relative;"><small>发现当前浏览器为Internet Explorer这不影响你的浏览但可能会有一些功能无法使用……</small></marquee><![endif]-->
2024-04-15 15:29:05 +08:00
<div class="wrapper">
2025-05-20 01:30:36 +08:00
<header class="h-card">
2025-05-20 01:43:40 +08:00
<h1><a class="u-url u-uid p-name" rel="me" href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
2022-01-04 20:42:55 +08:00
2024-04-15 15:29:05 +08:00
{% if site.logo %}
<img src="{{ site.logo }}" fetchpriority="high" class="u-photo" alt="Logo" style="width: 90%; max-width: 300px; max-height: 300px;" />
2025-06-01 14:35:20 +08:00
{% endif %}
2022-01-04 20:42:55 +08:00
2025-05-20 01:30:36 +08:00
<p class="p-note">{{ site.description | default: site.github.project_tagline }}</p>
2024-04-15 15:29:05 +08:00
<form action="/search.html">
<input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />&#160;<input type="submit" value="搜索" />
2024-04-15 15:29:05 +08:00
</form>
<br />
2022-01-25 00:02:31 +08:00
2024-04-15 15:29:05 +08:00
{% if site.github.is_project_page %}
2025-05-20 01:43:40 +08:00
<p class="view"><a class="u-url" href="{{ site.github.repository_url }}">View the Project on GitHub
2024-04-15 15:29:05 +08:00
<small>{{ site.github.repository_nwo }}</small></a></p>
{% endif %}
{% if site.github.is_user_page %}
2025-05-20 01:43:40 +08:00
<p class="view"><a class="u-url" href="{{ site.github.owner_url }}" rel="me">View My GitHub Profile</a></p>
2024-04-15 15:29:05 +08:00
{% endif %}
2025-05-20 01:43:40 +08:00
<p class="view"><a class="u-url" href="/Mabbs/">About me</a></p>
2024-04-15 15:29:05 +08:00
<ul class="downloads">
2022-01-25 00:02:31 +08:00
{% if site.github %}
2024-04-15 15:29:05 +08:00
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
2022-01-25 00:02:31 +08:00
{% else %}
2025-06-01 17:21:31 +08:00
<li style="width: 270px; border-right: none;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li>
2022-01-25 00:02:31 +08:00
{% endif %}
2024-04-15 15:29:05 +08:00
</ul>
</header>
<section{% unless page.layout == "default" %} class="h-entry"{% endunless %}>
2022-01-04 20:42:55 +08:00
{{ content }}
2024-04-15 15:29:05 +08:00
</section>
{% include live2d.html %}
2024-04-15 15:29:05 +08:00
<footer>
<p>
<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>
2024-04-15 15:29:05 +08:00
</p>
</footer>
</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
<!--[if !IE]> -->
<script src="/assets/js/main_new.js"></script>
2024-04-15 15:29:05 +08:00
<script src="/Live2dHistoire/live2d/js/live2d.js"></script>
<script src="/Live2dHistoire/live2d/js/message.js"></script>
<!-- <![endif]-->
</body>
</html>