mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2025-07-20 10:32:03 +00:00
Update default.html
This commit is contained in:
parent
f1e7070380
commit
106aa95def
@ -1,12 +1,13 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
{% seo %}
|
{% seo %}
|
||||||
{% feed_meta %}
|
{% feed_meta %}
|
||||||
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
|
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
|
||||||
<!--[if !IE]> -->
|
<!--[if !IE]> -->
|
||||||
<link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
|
<link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
|
||||||
@ -16,40 +17,20 @@
|
|||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
{% if site.google_analytics %}
|
{% if site.google_analytics %}
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
|
||||||
gtag('config', '{{ site.google_analytics }}');
|
gtag('config', '{{ site.google_analytics }}');
|
||||||
var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}");
|
var lastUpdated = new Date("{{ site.time | date: "%FT%T%z" }}");
|
||||||
Date.prototype.format = function(fmt) {
|
</script>
|
||||||
var o = {
|
{% endif %}
|
||||||
"M+" : this.getMonth()+1, //月份
|
<style>
|
||||||
"d+" : this.getDate(), //日
|
.backToTop {
|
||||||
"h+" : this.getHours(), //小时
|
|
||||||
"m+" : this.getMinutes(), //分
|
|
||||||
"s+" : this.getSeconds(), //秒
|
|
||||||
"q+" : Math.floor((this.getMonth()+3)/3), //季度
|
|
||||||
"S" : this.getMilliseconds() //毫秒
|
|
||||||
};
|
|
||||||
if(/(y+)/.test(fmt)) {
|
|
||||||
fmt=fmt.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length));
|
|
||||||
}
|
|
||||||
for(var k in o) {
|
|
||||||
if(new RegExp("("+ k +")").test(fmt)){
|
|
||||||
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return fmt;
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
<style>
|
|
||||||
.backToTop {
|
|
||||||
display: none;
|
display: none;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
@ -66,10 +47,11 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
filter: Alpha(opacity=60);
|
filter: Alpha(opacity=60);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
|
||||||
|
<body>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
|
<h1><a href="{{ "/" | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
|
||||||
@ -80,17 +62,22 @@
|
|||||||
|
|
||||||
<p>{{ site.description | default: site.github.project_tagline }}</p>
|
<p>{{ site.description | default: site.github.project_tagline }}</p>
|
||||||
|
|
||||||
<p><form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.."> <input type="submit"></form></p>
|
<p>
|
||||||
|
<form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts..">
|
||||||
|
<input type="submit">
|
||||||
|
</form>
|
||||||
|
</p>
|
||||||
|
|
||||||
{% if site.github.is_project_page %}
|
{% if site.github.is_project_page %}
|
||||||
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
|
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub
|
||||||
|
<small>{{ site.github.repository_nwo }}</small></a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.github.is_user_page %}
|
{% if site.github.is_user_page %}
|
||||||
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
|
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<p class="view"><a href="{{ "/Mabbs/" | relative_url }}">About Me</a></p>
|
<p class="view"><a href="/Mabbs/">About Me</a></p>
|
||||||
|
|
||||||
<ul class="downloads">
|
<ul class="downloads">
|
||||||
{% if site.github %}
|
{% if site.github %}
|
||||||
@ -107,8 +94,8 @@
|
|||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<!--[if !IE]> -->
|
<!--[if !IE]> -->
|
||||||
<div id="landlord" style="left:5px;bottom:0px;">
|
<div id="landlord" style="left:5px;bottom:0px;">
|
||||||
<div class="message" style="opacity:0"></div>
|
<div class="message" style="opacity:0"></div>
|
||||||
<canvas id="live2d" width="500" height="560" class="live2d"></canvas>
|
<canvas id="live2d" width="500" height="560" class="live2d"></canvas>
|
||||||
<div class="live_talk_input_body">
|
<div class="live_talk_input_body">
|
||||||
@ -131,23 +118,23 @@
|
|||||||
<audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
|
<audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio>
|
||||||
<input id="duType" value="douqilai" type="hidden">
|
<input id="duType" value="douqilai" type="hidden">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="open_live2d">召唤伊斯特瓦尔</div>
|
<div id="open_live2d">召唤伊斯特瓦尔</div>
|
||||||
<!-- <![endif]-->
|
<!-- <![endif]-->
|
||||||
<footer>
|
<footer>
|
||||||
<p><small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.format("yyyy-MM-dd hh:mm:ss"));</script><br /> 总字数:
|
<p>
|
||||||
{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}
|
<small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.toLocaleString());</script><br /> 总字数:{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %}{% assign count = count | plus: single_count %}{% endfor %}{% if count > 10000 %}{{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }}{% 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>
|
||||||
{% assign count = count | plus: single_count %}{% endfor %}{% if count > 10000 %}{{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }}
|
</p>
|
||||||
{% 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>
|
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
|
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
|
||||||
|
|
||||||
<script src="/js/main.js"></script>
|
<script src="/js/main.js"></script>
|
||||||
<!--[if !IE]> -->
|
<!--[if !IE]> -->
|
||||||
<script src="/Live2dHistoire/live2d/js/live2d.js"></script>
|
<script src="/Live2dHistoire/live2d/js/live2d.js"></script>
|
||||||
<script src="/Live2dHistoire/live2d/js/message.js"></script>
|
<script src="/Live2dHistoire/live2d/js/message.js"></script>
|
||||||
|
|
||||||
|
<!-- <![endif]-->
|
||||||
|
</body>
|
||||||
|
|
||||||
<!-- <![endif]-->
|
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user