jekyll-theme-h2o-ac 1.1.15 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_config.yml +5 -1
- data/_data/locales/en.yml +75 -0
- data/_data/locales/ja.yml +75 -0
- data/_data/locales/zh-Hans.yml +75 -0
- data/_data/locales/zh-Hant.yml +75 -0
- data/_includes/footer.html +26 -19
- data/_includes/head.html +2 -1
- data/_includes/post-head.html +2 -1
- data/_includes/sidebar.html +9 -6
- data/_layouts/archives.html +19 -3
- data/_layouts/categories.html +15 -3
- data/_layouts/default.html +3 -3
- data/_layouts/page.html +4 -11
- data/_layouts/post.html +55 -71
- data/assets/css/app.min.css +2498 -1
- data/assets/css/app.min.css.map +1 -0
- data/assets/css/cv.min.css +281 -1
- data/assets/css/cv.min.css.map +1 -0
- data/assets/js/app.min.js +690 -0
- data/assets/js/app.min.js.map +1 -0
- metadata +10 -11
- data/assets/css/plugins.min.css +0 -1
- data/assets/fonts/iconfont.eot +0 -0
- data/assets/fonts/iconfont.svg +0 -88
- data/assets/fonts/iconfont.ttf +0 -0
- data/assets/fonts/iconfont.woff +0 -0
- data/assets/js/index.min.js +0 -1
- data/assets/js/prism.js +0 -279
- data/assets/js/social-share.min.js +0 -1
- data/assets/js/util.js +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 706b78256ebf824ed29e0a0a08474adf51562cc2a6872d8684f13f3b2bc98cf7
|
|
4
|
+
data.tar.gz: 2138bcc86be17bcc079c064c4988a26793072ef54c46dc9883e6d2683bd38d16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc93dc3266b5bf5a2956d6a4c68102d8aa0d1b77df2eb457a1d8b37a6f75ed747303151feb46f3a617b2cdda1317e84e1c91aa8f261b497fa45ea7e432713079
|
|
7
|
+
data.tar.gz: 551de9a5d0c7c1d708d8771a120cc0dfbadd8c65cca61d1dc242ac566f09ce30e646013d44dee92b5e240c13b144929ed69b4ef5f9a6d874ef1645acc29a33b1
|
data/_config.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# jekyll-theme-h2o-ac
|
|
2
|
-
version: 1.
|
|
2
|
+
version: 1.2.0
|
|
3
3
|
|
|
4
4
|
# Site settings 配置站点
|
|
5
5
|
title: 'Mr Li'
|
|
@@ -17,6 +17,10 @@ url: 'https://h2o-ac.pages.dev' # your host
|
|
|
17
17
|
# 但是,如果你创建了一个叫 "myblog" 的网站,此时网址会变成 "kaeyleo.github.io/myblog" ,这时再将 baseurl 设置为 '/myblog'
|
|
18
18
|
baseurl: ''
|
|
19
19
|
|
|
20
|
+
# Internalization 国际化
|
|
21
|
+
languages: ["zh-Hans", "zh-Hant", "en", "ja"]
|
|
22
|
+
default_lang: "zh-Hans"
|
|
23
|
+
|
|
20
24
|
# Github
|
|
21
25
|
github:
|
|
22
26
|
enabled: true
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
cover: 'The cover image is provided by'
|
|
2
|
+
panel:
|
|
3
|
+
posts: 'POSTS'
|
|
4
|
+
categories: 'CATEGORIES'
|
|
5
|
+
tags: 'TAGS'
|
|
6
|
+
hot_tags: 'HOT TAGS'
|
|
7
|
+
links: 'LINKS'
|
|
8
|
+
update: 'RECENT UPDATES'
|
|
9
|
+
footer:
|
|
10
|
+
driver: 'Powered by <a href="//jekyllrb.com" target="_blank" class="extlinks">Jekyll</a> & <a href="https://github.com/zhonger/jekyll-theme-H2O-ac" target="_blank" class="extlinks">H2O-ac</a> (based on <a href="https://github.com/kaeyleo/jekyll-theme-H2O" target="_blank" class="extlinks">H2O</a>)'
|
|
11
|
+
views: 'Total Views'
|
|
12
|
+
visitors: 'Total Visitors'
|
|
13
|
+
upyun: 'CDN is provided by'
|
|
14
|
+
running:
|
|
15
|
+
info: 'This site has been alive for'
|
|
16
|
+
day: 'd'
|
|
17
|
+
hour: 'h'
|
|
18
|
+
minute: 'm'
|
|
19
|
+
second: 's'
|
|
20
|
+
tos:
|
|
21
|
+
left: 'In order to improve the experience and gurantee necessary functions of our website, we will use the local Cookie. More details in'
|
|
22
|
+
middle: 'Terms of Service'
|
|
23
|
+
right: 'page.'
|
|
24
|
+
btn: 'Accept'
|
|
25
|
+
post:
|
|
26
|
+
outline: 'Contents'
|
|
27
|
+
cover:
|
|
28
|
+
total:
|
|
29
|
+
info: 'There are totally'
|
|
30
|
+
unit: 'words'
|
|
31
|
+
time:
|
|
32
|
+
info: 'It may needs'
|
|
33
|
+
unit: 'minutes'
|
|
34
|
+
view:
|
|
35
|
+
info: 'Total pageviews'
|
|
36
|
+
unit: ''
|
|
37
|
+
tips:
|
|
38
|
+
left: 'It is already the latest posts!'
|
|
39
|
+
right: 'It is already the oldest posts!'
|
|
40
|
+
copyright:
|
|
41
|
+
statement:
|
|
42
|
+
name: 'Statement'
|
|
43
|
+
left: 'If no specific statement in the content, the copyright belongs to'
|
|
44
|
+
middle: '. Reprint please indicate the link of this article.'
|
|
45
|
+
right1: '(The content is authorized with'
|
|
46
|
+
right2: 'protocol)'
|
|
47
|
+
outdate1: 'The last update of this article was'
|
|
48
|
+
outdate2: 'days ago, so it may be outdated!'
|
|
49
|
+
title: 'Title'
|
|
50
|
+
link: 'Link'
|
|
51
|
+
comment: 'Comment'
|
|
52
|
+
archives:
|
|
53
|
+
title: 'Archives'
|
|
54
|
+
total:
|
|
55
|
+
info: 'There are totally'
|
|
56
|
+
unit: 'articles in this site.'
|
|
57
|
+
pin:
|
|
58
|
+
info: '('
|
|
59
|
+
unit: ' pinned articles,'
|
|
60
|
+
title: 'Pinned Articles'
|
|
61
|
+
words:
|
|
62
|
+
info: ' totally'
|
|
63
|
+
unit: 'words )'
|
|
64
|
+
categories:
|
|
65
|
+
title: 'Categories'
|
|
66
|
+
u_title: 'Uncategorized'
|
|
67
|
+
total:
|
|
68
|
+
info: 'There are totally'
|
|
69
|
+
unit: 'articles.'
|
|
70
|
+
type:
|
|
71
|
+
info: '('
|
|
72
|
+
unit: 'categories,'
|
|
73
|
+
uncategory:
|
|
74
|
+
info: ''
|
|
75
|
+
unit: 'uncategoried articles )'
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
cover: 'このイメージの提供者'
|
|
2
|
+
panel:
|
|
3
|
+
posts: '記事'
|
|
4
|
+
categories: 'カテゴリー'
|
|
5
|
+
tags: 'タグ'
|
|
6
|
+
hot_tags: '人気タグ'
|
|
7
|
+
links: 'リンク'
|
|
8
|
+
update: '最新のアップデート'
|
|
9
|
+
footer:
|
|
10
|
+
driver: 'このサイトは <a href="//jekyllrb.com" target="_blank" class="extlinks">Jekyll</a> と <a href="https://github.com/zhonger/jekyll-theme-H2O-ac" target="_blank" class="extlinks">H2O-ac</a> を利用しています'
|
|
11
|
+
views: '総閲覧数'
|
|
12
|
+
visitors: '総訪問数'
|
|
13
|
+
upyun: 'CDN サービスプロバイダー'
|
|
14
|
+
running:
|
|
15
|
+
info: 'このサイト経過時間'
|
|
16
|
+
day: '日'
|
|
17
|
+
hour: '時'
|
|
18
|
+
minute: '分'
|
|
19
|
+
second: '秒'
|
|
20
|
+
tos:
|
|
21
|
+
left: '本ウェブサイトでは、サイト利便性向上のためCookieを使用しています。詳細は'
|
|
22
|
+
middle: 'このサイトについて'
|
|
23
|
+
right: 'をご覧ください。'
|
|
24
|
+
btn: '同意する'
|
|
25
|
+
post:
|
|
26
|
+
outline: '目次'
|
|
27
|
+
cover:
|
|
28
|
+
total:
|
|
29
|
+
info: 'この記事は合計'
|
|
30
|
+
unit: '語です'
|
|
31
|
+
time:
|
|
32
|
+
info: '全文を読むのに約'
|
|
33
|
+
unit: '分かかります'
|
|
34
|
+
view:
|
|
35
|
+
info: 'この記事の総閲覧数は'
|
|
36
|
+
unit: 'です'
|
|
37
|
+
tips:
|
|
38
|
+
left: 'もう最新記事!'
|
|
39
|
+
right: 'もう最後の記事!'
|
|
40
|
+
copyright:
|
|
41
|
+
statement:
|
|
42
|
+
name: '著作権表示'
|
|
43
|
+
left: '特に断りのない限り、この記事の著作権は'
|
|
44
|
+
middle: 'に帰属します。転載の時にこの記事のリンクを示してください。'
|
|
45
|
+
right1: '('
|
|
46
|
+
right2: 'ライセンスの下でライセンスされています。)'
|
|
47
|
+
outdate1: 'この記事の最終更新日は'
|
|
48
|
+
outdate2: '日前です。記事の内容の一部が古くなっている可能性があります!'
|
|
49
|
+
title: 'タイトル'
|
|
50
|
+
link: 'リンク'
|
|
51
|
+
comment: 'コメント'
|
|
52
|
+
archives:
|
|
53
|
+
title: 'アーカイブス'
|
|
54
|
+
total:
|
|
55
|
+
info: '本サイトには'
|
|
56
|
+
unit: 'の記事があります。'
|
|
57
|
+
pin:
|
|
58
|
+
info: 'この中には'
|
|
59
|
+
unit: 'の付箋記事があります。'
|
|
60
|
+
title: '付箋記事'
|
|
61
|
+
words:
|
|
62
|
+
info: '合計'
|
|
63
|
+
unit: 'ワードです。'
|
|
64
|
+
categories:
|
|
65
|
+
title: 'カテゴリ'
|
|
66
|
+
u_title: '未分類'
|
|
67
|
+
total:
|
|
68
|
+
info: '本サイトには'
|
|
69
|
+
unit: 'の記事があります。'
|
|
70
|
+
type:
|
|
71
|
+
info: '('
|
|
72
|
+
unit: 'のカテゴリ、'
|
|
73
|
+
uncategory:
|
|
74
|
+
info: ''
|
|
75
|
+
unit: 'の未分類の記事 )'
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
cover: '封面图片提供者'
|
|
2
|
+
panel:
|
|
3
|
+
posts: '文章'
|
|
4
|
+
categories: '类别'
|
|
5
|
+
tags: '标签'
|
|
6
|
+
hot_tags: '热门标签'
|
|
7
|
+
links: '链接'
|
|
8
|
+
update: '最近更新'
|
|
9
|
+
footer:
|
|
10
|
+
driver: '本站由 <a href="//jekyllrb.com" target="_blank" class="extlinks">Jekyll</a> 和 (基于 <a href="https://github.com/kaeyleo/jekyll-theme-H2O" target="_blank" class="extlinks">H2O</a> 的) <a href="https://github.com/zhonger/jekyll-theme-H2O-ac" target="_blank" class="extlinks">H2O-ac</a> 强力驱动'
|
|
11
|
+
views: '总浏览量'
|
|
12
|
+
visitors: '总访问量'
|
|
13
|
+
upyun: 'CDN 加速/云存储服务提供商'
|
|
14
|
+
running:
|
|
15
|
+
info: '本站已运行'
|
|
16
|
+
day: '天'
|
|
17
|
+
hour: '小时'
|
|
18
|
+
minute: '分'
|
|
19
|
+
second: '秒'
|
|
20
|
+
tos:
|
|
21
|
+
left: '为了提升本站的使用体验和必要功能的正常使用,本站会使用本地 Cookie。详细请查看'
|
|
22
|
+
middle: '本站使用条款'
|
|
23
|
+
right: '了解更多。'
|
|
24
|
+
btn: '同意'
|
|
25
|
+
post:
|
|
26
|
+
outline: '目录'
|
|
27
|
+
cover:
|
|
28
|
+
total:
|
|
29
|
+
info: '本文总共'
|
|
30
|
+
unit: '字'
|
|
31
|
+
time:
|
|
32
|
+
info: '阅读全文大约需要'
|
|
33
|
+
unit: '分钟'
|
|
34
|
+
view:
|
|
35
|
+
info: '本文总阅读量'
|
|
36
|
+
unit: '次'
|
|
37
|
+
tips:
|
|
38
|
+
left: '已经是最新一篇文章了!'
|
|
39
|
+
right: '已经是最后一篇文章了!'
|
|
40
|
+
copyright:
|
|
41
|
+
statement:
|
|
42
|
+
name: '版权声明'
|
|
43
|
+
left: '如无特别声明,本文版权归'
|
|
44
|
+
middle: '所有,转载请注明本文链接。'
|
|
45
|
+
right1: '(采用 '
|
|
46
|
+
right2: '许可协议进行授权)'
|
|
47
|
+
outdate1: '本文最后一次更新为'
|
|
48
|
+
outdate2: '天前,文章中的某些内容可能已过时!'
|
|
49
|
+
title: '本文标题'
|
|
50
|
+
link: '本文链接'
|
|
51
|
+
comment: '评论'
|
|
52
|
+
archives:
|
|
53
|
+
title: '归档'
|
|
54
|
+
total:
|
|
55
|
+
info: '本站共有文章'
|
|
56
|
+
unit: '篇,'
|
|
57
|
+
pin:
|
|
58
|
+
info: '其中置顶文章'
|
|
59
|
+
unit: '篇,'
|
|
60
|
+
title: '置顶文章'
|
|
61
|
+
words:
|
|
62
|
+
info: '总计字数'
|
|
63
|
+
unit: '字。'
|
|
64
|
+
categories:
|
|
65
|
+
title: '类别'
|
|
66
|
+
u_title: '未分类'
|
|
67
|
+
total:
|
|
68
|
+
info: '本站共有文章'
|
|
69
|
+
unit: '篇,'
|
|
70
|
+
type:
|
|
71
|
+
info: '其中有类别'
|
|
72
|
+
unit: '个,'
|
|
73
|
+
uncategory:
|
|
74
|
+
info: '未分类有'
|
|
75
|
+
unit: '篇。'
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
cover: '封面圖片提供者'
|
|
2
|
+
panel:
|
|
3
|
+
posts: '文章'
|
|
4
|
+
categories: '類別'
|
|
5
|
+
tags: '標籤'
|
|
6
|
+
hot_tags: '熱門標簽'
|
|
7
|
+
links: '鏈接'
|
|
8
|
+
update: '最近更新'
|
|
9
|
+
footer:
|
|
10
|
+
driver: '本站由 <a href="//jekyllrb.com" target="_blank" class="extlinks">Jekyll</a> 和 (基於 <a href="https://github.com/kaeyleo/jekyll-theme-H2O" target="_blank" class="extlinks">H2O</a> 的) <a href="https://github.com/zhonger/jekyll-theme-H2O-ac" target="_blank" class="extlinks">H2O-ac</a> 強力驅動'
|
|
11
|
+
views: '總瀏覽量'
|
|
12
|
+
visitors: '總訪問量'
|
|
13
|
+
upyun: 'CDN 加速/雲存儲服務提供商'
|
|
14
|
+
running:
|
|
15
|
+
info: '本站已運行'
|
|
16
|
+
day: '天'
|
|
17
|
+
hour: '小時'
|
|
18
|
+
minute: '分'
|
|
19
|
+
second: '秒'
|
|
20
|
+
tos:
|
|
21
|
+
left: '為了提升本站的使用體驗和必要功能的正常使用,本站會使用本地 Cookie。詳細請查看'
|
|
22
|
+
middle: '本站使用條款'
|
|
23
|
+
right: '了解更多。'
|
|
24
|
+
btn: '同意'
|
|
25
|
+
post:
|
|
26
|
+
outline: '目錄'
|
|
27
|
+
cover:
|
|
28
|
+
total:
|
|
29
|
+
info: '本文總共'
|
|
30
|
+
unit: '字'
|
|
31
|
+
time:
|
|
32
|
+
info: '閱讀全文大約需要'
|
|
33
|
+
unit: '分鐘'
|
|
34
|
+
view:
|
|
35
|
+
info: '本文總閱讀量'
|
|
36
|
+
unit: '次'
|
|
37
|
+
tips:
|
|
38
|
+
left: '已經是最新一篇文章了!'
|
|
39
|
+
right: '已經是最後一篇文章了!'
|
|
40
|
+
copyright:
|
|
41
|
+
statement:
|
|
42
|
+
name: '版權聲明'
|
|
43
|
+
left: '如無特別聲明,本文版權歸'
|
|
44
|
+
middle: '所有,轉載請註明本文鏈接。'
|
|
45
|
+
right1: '(採用 '
|
|
46
|
+
right2: '許可協議進行授權)'
|
|
47
|
+
outdate1: '本文最後一次更新為'
|
|
48
|
+
outdate2: '天前,文章中的某些内容可能已過時!'
|
|
49
|
+
title: '本文標題'
|
|
50
|
+
link: '本文鏈接'
|
|
51
|
+
comment: '評論'
|
|
52
|
+
archives:
|
|
53
|
+
title: '歸檔'
|
|
54
|
+
total:
|
|
55
|
+
info: '本站共有文章'
|
|
56
|
+
unit: '篇,'
|
|
57
|
+
pin:
|
|
58
|
+
info: '其中置頂文章'
|
|
59
|
+
unit: '篇,'
|
|
60
|
+
title: '置頂文章'
|
|
61
|
+
words:
|
|
62
|
+
info: '總計字數'
|
|
63
|
+
unit: '字。'
|
|
64
|
+
categories:
|
|
65
|
+
title: '類別'
|
|
66
|
+
u_title: '未分類'
|
|
67
|
+
total:
|
|
68
|
+
info: '本站共有文章'
|
|
69
|
+
unit: '篇,'
|
|
70
|
+
type:
|
|
71
|
+
info: '其中有類別'
|
|
72
|
+
unit: '個,'
|
|
73
|
+
uncategory:
|
|
74
|
+
info: '未分類有'
|
|
75
|
+
unit: '篇。'
|
data/_includes/footer.html
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
{% assign lang = page.lang | default: site.default_lang %}
|
|
2
|
+
{% assign locales = site.data.locales[lang] %}
|
|
3
|
+
{% assign footer = locales.footer%}
|
|
1
4
|
<footer class="g-footer">
|
|
2
|
-
<section>{{ site.title }} ©
|
|
5
|
+
<section class="links">{{ site.title }} ©
|
|
3
6
|
{% assign current = "now" | date: "%Y" | plus: 0%}
|
|
4
7
|
{% unless site.footer.since and site.footer.since == current %}
|
|
5
8
|
{{ site.footer.since }}
|
|
@@ -10,52 +13,56 @@
|
|
|
10
13
|
<a href="https://beian.miit.gov.cn/" target="_blank" class="extlinks">{{ site.beian }}</a>
|
|
11
14
|
{% endif %}
|
|
12
15
|
</section>
|
|
13
|
-
<section
|
|
16
|
+
<section class="links">
|
|
17
|
+
{{ footer.driver }}
|
|
18
|
+
{% if site.version %} (<a href="https://github.com/zhonger/jekyll-theme-H2O-ac/releases/tag/v.{{ site.version }}" target="_blank" class="extlinks">v{{ site.version }}</a>){% endif %}
|
|
19
|
+
{% if site.supports.webify %} & <a href="https://webify.cloudbase.net/" target="_blank" class="extlinks">CloudBase Webify</a> {% endif %}
|
|
20
|
+
</section>
|
|
14
21
|
{% if site.cnzz %}
|
|
15
22
|
<script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_{{ site.cnzz }}'%3E%3C/span%3E%3Cscript src='https://v1.cnzz.com/z_stat.php%3Fid%3D{{ site.cnzz }}%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
|
|
16
23
|
{% endif %}
|
|
17
|
-
</section>
|
|
18
24
|
{% if site.busuanzi %}
|
|
19
25
|
<section>
|
|
20
26
|
<span id="busuanzi_container_site_pv">
|
|
21
|
-
👁️
|
|
27
|
+
👁️ {{ footer.views }} <span id="busuanzi_value_site_pv"></span> <b>·</b>
|
|
22
28
|
</span>
|
|
23
29
|
<span id="busuanzi_container_site_uv">
|
|
24
|
-
👤
|
|
30
|
+
👤 {{ footer.visitors }} <span id="busuanzi_value_site_uv"></span>
|
|
25
31
|
</span>
|
|
26
32
|
</section>
|
|
27
33
|
{% endif %}
|
|
28
34
|
{% if site.supports.upyun %}
|
|
29
35
|
<section>
|
|
30
|
-
<a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank" class="extlinks"
|
|
36
|
+
<a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank" class="extlinks">{{ footer.upyun }} <img src="{{ "/assets/icons/upyun.png" | relative_url }}" class="upyun" /></a>
|
|
31
37
|
</section>
|
|
32
38
|
{% endif %}
|
|
33
39
|
<section>
|
|
34
40
|
{% if site.alivetime %}
|
|
35
|
-
|
|
41
|
+
{{ footer.running.info }}
|
|
42
|
+
<span class="alivetime_days"></span> {{ footer.running.day }}
|
|
43
|
+
<span class="alivetime_hours"></span> {{ footer.running.hour }}
|
|
44
|
+
<span class="alivetime_minutes"></span> {{ footer.running.minute }}
|
|
45
|
+
<span class="alivetime_seconds"></span> {{ footer.running.second }}
|
|
36
46
|
{% endif %}
|
|
37
47
|
{% if site.foreverblog or site.wormhole %}
|
|
38
48
|
<br/>
|
|
39
49
|
{% endif %}
|
|
40
50
|
{% if site.foreverblog %}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
51
|
+
<a href="https://www.foreverblog.cn/" target="_blank" class="foreverblog">
|
|
52
|
+
<img src="https://img.foreverblog.cn/logo_en_default.png" alt="">
|
|
53
|
+
</a>
|
|
44
54
|
{% endif %}
|
|
45
55
|
{% if site.wormhole %}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
56
|
+
<a href="https://www.foreverblog.cn/go.html" target="_blank" class="wormhole">
|
|
57
|
+
<img src="https://img.foreverblog.cn/wormhole_3.gif" alt="" title="穿梭虫洞-随机访问十年之约友链博客">
|
|
58
|
+
</a>
|
|
49
59
|
{% endif%}
|
|
50
60
|
</section>
|
|
51
61
|
</footer>
|
|
52
62
|
<div class="cookie-tip">
|
|
53
|
-
{
|
|
54
|
-
|
|
55
|
-
{
|
|
56
|
-
In order to improve the experience and gurantee necessary functions of our website, we will use the local Cookie. More details in <a href="{{ site.tos | prepend: site.baseurl }}">ToS</a> page.
|
|
57
|
-
{% endif %}
|
|
58
|
-
<button id="accept-tos">同意(Accept)</button>
|
|
63
|
+
{{ cookie.cookieconsent_status }} {{ footer.tos.left }}「 <a href="{{ site.tos | prepend: site.baseurl }}">{{ footer.tos.middle }}</a> 」{{ footer.tos.right }}
|
|
64
|
+
|
|
65
|
+
<button id="accept-tos">{{ footer.tos.btn }}</button>
|
|
59
66
|
</div>
|
|
60
67
|
<button id="list" aria-label="Scroll back to top" class="mobile-list" type="button">
|
|
61
68
|
<svg class="icon list day" aria-hidden="true">
|
data/_includes/head.html
CHANGED
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
<link rel="bookmark" href="{{ site.favicon | prepend: site.baseurl }}" type="image/x-icon" />
|
|
28
28
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.min.css" async>
|
|
29
29
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-screen-webfont@1.1.0/style.css" />
|
|
30
|
-
<link rel="stylesheet" href="
|
|
30
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.2.0/github-markdown-light.min.css">
|
|
31
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js@1.0.16/dist/css/share.min.css">
|
|
31
32
|
{% assign prisms1 = "coy,dark,funky,okaidia,solarizedlight,tomorrow,twilight" | split: "," %}
|
|
32
33
|
{% assign prisms2 = "a11y-dark,atom-dark,base16-ateliersulphurpool.light,cb,coldark-cold,coy-without-shadows,darcula,duotone-dark,duotone-earth,duotone-light,dutone-sea,dutone-space,ghcolors,gruvbox-dark,gruvbox-light,holi-theme,hopscotch,lucario,material-dark,material-light,material-oceanic,night-owl,nord,one-dark,one-light,pojoaque,shades-of-purple,solarized-dark-atom,synthwave84,vs,vsc-dark-plus,xonokai,z-touch" | split: "," %}
|
|
33
34
|
{% if prisms1 contains site.prism.theme %}
|
data/_includes/post-head.html
CHANGED
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
<link rel="bookmark" href="{{ site.favicon | prepend: site.baseurl }}" type="image/x-icon" />
|
|
43
43
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.min.css" />
|
|
44
44
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-screen-webfont@1.1.0/style.css" />
|
|
45
|
-
<link rel="stylesheet" href="
|
|
45
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5.2.0/github-markdown-light.min.css">
|
|
46
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js@1.0.16/dist/css/share.min.css">
|
|
46
47
|
{% assign prisms1 = "coy,dark,funky,okaidia,solarizedlight,tomorrow,twilight" | split: "," %}
|
|
47
48
|
{% assign prisms2 = "a11y-dark,atom-dark,base16-ateliersulphurpool.light,cb,coldark-cold,coy-without-shadows,darcula,duotone-dark,duotone-earth,duotone-light,dutone-sea,dutone-space,ghcolors,gruvbox-dark,gruvbox-light,holi-theme,hopscotch,lucario,material-dark,material-light,material-oceanic,night-owl,nord,one-dark,one-light,pojoaque,shades-of-purple,solarized-dark-atom,synthwave84,vs,vsc-dark-plus,xonokai,z-touch" | split: "," %}
|
|
48
49
|
{% if prisms1 contains site.prism.theme %}
|
data/_includes/sidebar.html
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
{% assign lang = page.lang | default: site.default_lang %}
|
|
2
|
+
{% assign locales = site.data.locales[lang] %}
|
|
3
|
+
{% assign panel = locales.panel %}
|
|
1
4
|
<aside class="g-sidebar-wrapper">
|
|
2
5
|
<div class="g-sidebar">
|
|
3
6
|
<section class="author-card">
|
|
@@ -10,19 +13,19 @@
|
|
|
10
13
|
</div>
|
|
11
14
|
<div class="level">
|
|
12
15
|
<div class="level-item">
|
|
13
|
-
<p class="heading">
|
|
16
|
+
<p class="heading">{{ panel.posts }}</p>
|
|
14
17
|
<a href="{{ "/archives.html" | prepend: site.baseurl }}">
|
|
15
18
|
<p class="title">{{ site.posts | size }}</p>
|
|
16
19
|
</a>
|
|
17
20
|
</div>
|
|
18
21
|
<div class="level-item">
|
|
19
|
-
<p class="heading">
|
|
22
|
+
<p class="heading">{{ panel.categories }}</p>
|
|
20
23
|
<a href="{{ "/categories.html" | prepend: site.baseurl }}">
|
|
21
24
|
<p class="title">{{ site.categories | size }}</p>
|
|
22
25
|
</a>
|
|
23
26
|
</div>
|
|
24
27
|
<div class="level-item">
|
|
25
|
-
<p class="heading">
|
|
28
|
+
<p class="heading">{{ panel.tags }}</p>
|
|
26
29
|
<a href="{{ "/tags.html" | prepend: site.baseurl }}">
|
|
27
30
|
<p class="title">{{ site.tags | size }}</p>
|
|
28
31
|
</a>
|
|
@@ -51,7 +54,7 @@
|
|
|
51
54
|
{% endif %}
|
|
52
55
|
{% endfor %}
|
|
53
56
|
<section class="tags-card">
|
|
54
|
-
<div class="links" rel="links"
|
|
57
|
+
<div class="links" rel="links">{{ panel.hot_tags }}</div>
|
|
55
58
|
{% assign pnum = 0 %}
|
|
56
59
|
{% for i in (1..max_tag_count) reversed %}
|
|
57
60
|
{% for tag in site.tags %}
|
|
@@ -72,7 +75,7 @@
|
|
|
72
75
|
|
|
73
76
|
{% if site.links.size > 0 %}
|
|
74
77
|
<section class="tags-card">
|
|
75
|
-
<div class="links" rel="links">
|
|
78
|
+
<div class="links" rel="links">{{ panel.links }}</div>
|
|
76
79
|
{% for link in site.links %}
|
|
77
80
|
<a href="{{ link[1] }}" target="_blank" class="tag" rel="noreferrer"> {{ link[0] }} </a>
|
|
78
81
|
{% endfor %}
|
|
@@ -81,7 +84,7 @@
|
|
|
81
84
|
|
|
82
85
|
<section class="tags-card">
|
|
83
86
|
{% assign posts = site.posts | sort: "date" | reverse %}
|
|
84
|
-
<div class="links"
|
|
87
|
+
<div class="links">{{ panel.update }}</div>
|
|
85
88
|
<ul class="latest-articles">
|
|
86
89
|
{% for post in posts limit:3 %}
|
|
87
90
|
<li>
|
data/_layouts/archives.html
CHANGED
|
@@ -18,14 +18,30 @@ cover: https://images.unsplash.com/photo-1465189684280-6a8fa9b19a7a?w=1600&q=900
|
|
|
18
18
|
{% assign total_size = total_size | plus:post_size %}
|
|
19
19
|
{% endfor %}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
{% assign lang = page.lang | default: site.default_lang %}
|
|
22
|
+
{% assign locales = site.data.locales[lang] %}
|
|
23
|
+
{% assign archives = locales.archives%}
|
|
22
24
|
|
|
23
|
-
<
|
|
25
|
+
<h2>{{ archives.title }}</h2>
|
|
26
|
+
|
|
27
|
+
<p>
|
|
28
|
+
{{ archives.total.info }} {{ site.posts | size }} {{ archives.total.unit }}
|
|
29
|
+
{% if pin_posts_num > 0 %}
|
|
30
|
+
{{ archives.pin.info }} {{pin_posts_num}} {{ archives.pin.unit }}
|
|
31
|
+
{% endif %}
|
|
32
|
+
{{ archives.words.info }}
|
|
33
|
+
{% if total_size < 1000 %}
|
|
34
|
+
{{ total_size }}
|
|
35
|
+
{% else %}
|
|
36
|
+
{{ total_size | divided_by: 1000.0 | round: 1 }}k
|
|
37
|
+
{% endif %}
|
|
38
|
+
{{ archives.words.unit }}
|
|
39
|
+
</p>
|
|
24
40
|
|
|
25
41
|
{% assign ssyears = "rat,ox,tiger,rabbit,dragon,snake,horse,goat,monkey,rooster,dog,pig" | split: "," %}
|
|
26
42
|
|
|
27
43
|
{% if pin_posts_num > 0 %}
|
|
28
|
-
<h3
|
|
44
|
+
<h3>{{ archives.pin.title }}</h3>
|
|
29
45
|
<ul>
|
|
30
46
|
{% for post in pin_posts %}
|
|
31
47
|
<li>
|
data/_layouts/categories.html
CHANGED
|
@@ -10,9 +10,21 @@ cover: https://images.unsplash.com/photo-1465189684280-6a8fa9b19a7a?w=1600&q=900
|
|
|
10
10
|
{% assign uncategory_posts = site.posts | where: "categories", empty | sort: "date" | reverse %}
|
|
11
11
|
{% assign uncategory_posts_num = uncategory_posts | size %}
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
{% assign lang = page.lang | default: site.default_lang %}
|
|
14
|
+
{% assign locales = site.data.locales[lang] %}
|
|
15
|
+
{% assign categories = locales.categories%}
|
|
14
16
|
|
|
15
|
-
<
|
|
17
|
+
<h2>{{ categories.title }}</h2>
|
|
18
|
+
|
|
19
|
+
<p>
|
|
20
|
+
{{ categories.total.info }} {{ site.posts | size }} {{ categories.total.unit }}
|
|
21
|
+
{% if category_posts_num > 0 %}
|
|
22
|
+
{{ categories.type.info }} {{ category_posts_num }} {{ categories.type.unit }}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% if uncategory_posts_num > 0 %}
|
|
25
|
+
{{ categories.uncategory.info }} {{ uncategory_posts_num }} {{ categories.uncategory.unit }}
|
|
26
|
+
{% endif %}
|
|
27
|
+
</p>
|
|
16
28
|
|
|
17
29
|
{% for category in site.categories %}
|
|
18
30
|
{% assign category_name = category | first %}
|
|
@@ -39,7 +51,7 @@ cover: https://images.unsplash.com/photo-1465189684280-6a8fa9b19a7a?w=1600&q=900
|
|
|
39
51
|
{% endfor %}
|
|
40
52
|
|
|
41
53
|
{% if uncategory_posts_num > 0 %}
|
|
42
|
-
<h3 class="category">
|
|
54
|
+
<h3 class="category">{{ categories.u_title }}</h3>
|
|
43
55
|
<ul>
|
|
44
56
|
{% for post in uncategory_posts %}
|
|
45
57
|
<li>
|
data/_layouts/default.html
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
{% assign lang = page.lang | default: site.default_lang %}
|
|
1
2
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="{{
|
|
3
|
+
<html lang="{{ lang }}">
|
|
3
4
|
{% include head.html %}
|
|
4
5
|
|
|
5
6
|
{% if site.prism.line_numbers %}
|
|
@@ -7,7 +8,6 @@
|
|
|
7
8
|
{% else %}
|
|
8
9
|
<body ontouchstart="">
|
|
9
10
|
{% endif %}
|
|
10
|
-
|
|
11
11
|
<!--[if lt IE 10]>
|
|
12
12
|
<div class="alert-danger" role="alert">你的浏览器实在太太太旧了,放学别走,升级完浏览器再说!<a target="_blank" class="alert-link" href="http://browsehappy.com">立即升级</a></div>
|
|
13
13
|
<![endif]-->
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-core.min.js"></script>
|
|
38
38
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
39
39
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
40
|
-
<script src="{{ "/assets/js/
|
|
40
|
+
<script src="{{ "/assets/js/app.min.js" | prepend: site.baseurl }}"></script>
|
|
41
41
|
<script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js" async></script>
|
|
42
42
|
<script src="https://at.alicdn.com/t/font_3046306_skfh9jzzbbf.js"></script>
|
|
43
43
|
{% include waline.html %}
|
data/_layouts/page.html
CHANGED
|
@@ -5,7 +5,8 @@ description: 或许是最漂亮的Jekyll主题
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
{% include header.html %}
|
|
8
|
-
|
|
8
|
+
{% assign lang = page.lang | default: site.default_lang %}
|
|
9
|
+
{% assign locales = site.data.locales[lang] %}
|
|
9
10
|
<div
|
|
10
11
|
class="g-banner home-banner {{ site.theme-color | prepend: 'banner-theme-' }}"
|
|
11
12
|
data-theme="{{ site.theme-color }}"
|
|
@@ -19,17 +20,9 @@ description: 或许是最漂亮的Jekyll主题
|
|
|
19
20
|
<use xlink:href="#icon-image"></use>
|
|
20
21
|
</svg>
|
|
21
22
|
{% if page.cover_author_link %}
|
|
22
|
-
{
|
|
23
|
-
封面图片由 <a href="{{ page.cover_author_link }}" target="_blank">{{ page.cover_author }}</a> 提供
|
|
24
|
-
{% else %}
|
|
25
|
-
Cover is provided by <a href="{{ page.cover_author_link }}" target="_blank">{{ page.cover_author }}</a>
|
|
26
|
-
{% endif %}
|
|
23
|
+
{{ locales.cover }} <a href="{{ page.cover_author_link }}" target="_blank">{{ page.cover_author }}</a>
|
|
27
24
|
{% else %}
|
|
28
|
-
{
|
|
29
|
-
封面图片由 {{ page.cover_author }} 提供
|
|
30
|
-
{% else %}
|
|
31
|
-
Cover is provided by {{ page.cover_author }}
|
|
32
|
-
{% endif %}
|
|
25
|
+
{{ locales.cover }} {{ page.cover_author }}
|
|
33
26
|
{% endif %}
|
|
34
27
|
</p>
|
|
35
28
|
{% endif %}
|