jekyll-theme-h2o-ac 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -21
- data/_config.yml +8 -5
- data/_data/collections.yml +11 -0
- data/_data/locales/en.yml +8 -1
- data/_data/locales/ja.yml +8 -1
- data/_data/locales/zh-Hans.yml +8 -1
- data/_data/locales/zh-Hant.yml +8 -1
- data/_includes/calendar.html +31 -0
- data/_includes/footer.html +110 -77
- data/_includes/head.html +4 -0
- data/_includes/header.html +2 -2
- data/_includes/mathjax.html +4 -9
- data/_includes/paginate-article.html +1 -1
- data/_includes/sidebar.html +21 -4
- data/_includes/submenu.html +20 -0
- data/_includes/toc.html +2 -2
- data/_includes/waline.html +1 -1
- data/_layouts/archives.html +25 -0
- data/_layouts/default.html +12 -4
- data/_layouts/links.html +14 -4
- data/_layouts/manifest.html +35 -0
- data/_layouts/page.html +31 -0
- data/_layouts/post.html +55 -32
- data/_layouts/search.html +7 -0
- data/_layouts/stats.html +22 -0
- data/_layouts/sw.js +4 -4
- data/_layouts/tags.html +2 -2
- data/assets/css/app.min.css +1 -2496
- data/assets/css/app.min.css.map +1 -1
- data/assets/css/cv.min.css +1 -279
- data/assets/css/cv.min.css.map +1 -1
- data/assets/icons/notbyAI-white.png +0 -0
- data/assets/js/app.min.js +1 -690
- data/assets/js/app.min.js.LICENSE.txt +15 -0
- data/assets/js/app.min.js.map +1 -1
- metadata +14 -9
- data/_layouts/manifest.json +0 -35
- data/assets/search.json +0 -13
- data/blog/index.html +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 639e64a94b17f1be8b23d2b74aa1092806383cc573f1a1a724b1ec0ca7c2d2b3
|
4
|
+
data.tar.gz: 9bf22e2a1e22b29266543005ecffffd9330f255d71927b4dfccbe6bdc6a13437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f808b5bddfa7c433e10c74314b46cc343bd6a11f1b9afabf6ec8a917b4ac45755243d7c638dc059355a7b4089cb2db0d75ae82718943fa7efcac1155ca523403
|
7
|
+
data.tar.gz: 53a3be7033dfd2f356044e965e6e7951bd3f9cae03ff5fc27ac92af8ae10370ecde24c07dc5fa4bf86c530158c6e88d38da6c79f90f4362da48477c4674731ac
|
data/README.md
CHANGED
@@ -1,27 +1,23 @@
|
|
1
|
-
<div align="center">
|
2
|
-
|
3
1
|
# jekyll-theme-H2O-ac
|
4
2
|
|
5
|
-
|
6
|
-
|
3
|
+
![Gem (including prereleases)](https://img.shields.io/gem/v/jekyll-theme-h2o-ac)
|
4
|
+
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/zhonger/jekyll-theme-h2o-ac/jekyll.yml)
|
7
5
|
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/60e1e5fb75b8411da3df2fbed7243aa6)](https://www.codacy.com/gh/zhonger/jekyll-theme-H2O-ac/dashboard?utm_source=github.com&utm_medium=referral&utm_content=zhonger/jekyll-theme-H2O-ac&utm_campaign=Badge_Grade)
|
8
6
|
[![GitHub license](https://img.shields.io/github/license/zhonger/jekyll-theme-H2O-ac)](https://github.com/zhonger/jekyll-theme-H2O-ac/blob/master/LICENSE)
|
9
7
|
![Jekyll Version](https://img.shields.io/badge/Jekyll-4.2.1-blue)
|
10
8
|
![Ruby Version](https://img.shields.io/badge/Ruby-3.1.0-blue)
|
11
9
|
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fzhonger%2Fjekyll-theme-H2O-ac.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fzhonger%2Fjekyll-theme-H2O-ac?ref=badge_shield)
|
10
|
+
![Gem](https://img.shields.io/gem/dt/jekyll-theme-h2o-ac)
|
12
11
|
|
13
12
|
基于 Jekyll 和 [H2O](https://github.com/kaeyleo/jekyll-theme-H2O) 主题、适合学术研究人员和运维开发人员的博客主题模板。
|
14
13
|
|
15
14
|
A Jekyll theme for researchers and maintainers based on Jekyll and [H2O](https://github.com/kaeyleo/jekyll-theme-H2O) theme.
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
### Preview
|
20
|
-
|
21
|
-
#### [在线预览 Live Demo →](https://h2o-ac.pages.dev/)
|
16
|
+
## Preview
|
22
17
|
|
23
|
-
|
24
|
-
![
|
18
|
+
### [在线预览 Live Demo →](https://h2o-ac.pages.dev/)
|
19
|
+
![Picyard Thu Jul 06 2023 14_59_28 GMT+0900 (日本标准时间)](https://github.com/zhonger/jekyll-theme-H2O-ac/assets/12064158/e6d55bf7-b956-46e9-80d0-f33397a62215)
|
20
|
+
![Picyard Thu Jul 06 2023 15_09_27 GMT+0900 (日本标准时间)](https://github.com/zhonger/jekyll-theme-H2O-ac/assets/12064158/fa9a087a-d849-4469-9830-2400d3410660)
|
25
21
|
|
26
22
|
如果你喜欢这个博客模板,请在右上角star一下,非常感谢~
|
27
23
|
|
@@ -29,13 +25,13 @@ If you like this theme or using it, please give a ⭐️ for motivation ;)
|
|
29
25
|
|
30
26
|
如果想体验手机浏览效果,可以扫一下二维码:
|
31
27
|
|
32
|
-
|
28
|
+
Using your smartphone to scan the QR Code for preview
|
33
29
|
|
34
|
-
|
30
|
+
<img src="https://github.com/zhonger/jekyll-theme-H2O-ac/assets/12064158/b01c0a31-4fad-413c-9692-a67d330699b1" width=200 />
|
35
31
|
|
36
|
-
|
32
|
+
## New Features compared with H2O, 与 H2O 不同的新特性
|
37
33
|
|
38
|
-
|
34
|
+
### CN
|
39
35
|
|
40
36
|
- 学术首页
|
41
37
|
- 归档页
|
@@ -54,8 +50,9 @@ Using your smartphone to scan the QR Code
|
|
54
50
|
- 提示框支持
|
55
51
|
- 文章置顶
|
56
52
|
- 版权显式声明
|
53
|
+
- 国际化支持(简中、繁中、英文、日文)
|
57
54
|
|
58
|
-
|
55
|
+
### EN
|
59
56
|
|
60
57
|
- Academic Home Page
|
61
58
|
- Archive Page
|
@@ -74,20 +71,21 @@ Using your smartphone to scan the QR Code
|
|
74
71
|
- Premonition
|
75
72
|
- Top article pin
|
76
73
|
- Copyright statement for articles
|
74
|
+
- Internationlization (Simplified Chinese, Traditional Chinse, English, Japanese)
|
77
75
|
|
78
|
-
|
76
|
+
## Usage 快速开始
|
79
77
|
|
80
78
|
请访问 [H2O-ac theme for Jekyll](https://lisz.me/tech/webmaster/new-theme-h2o-ac.html) 查看详情。
|
81
79
|
|
82
80
|
Please refer to [H2O-ac theme for Jekyll](https://lisz.me/tech/webmaster/new-theme-h2o-ac.html) for details.
|
83
81
|
|
84
|
-
|
82
|
+
## Contribution 贡献
|
85
83
|
|
86
84
|
Any types of contribution are welcome. Thanks.
|
87
85
|
|
88
86
|
接受各种形式的贡献,包括不限于提交问题与需求,修复代码。等待您的 ```Pull Request```。
|
89
87
|
|
90
|
-
|
88
|
+
## Thanks 感谢参与 H2O 代码贡献的伙伴
|
91
89
|
|
92
90
|
- [kaeyleo](https://github.com/kaeyleo/)
|
93
91
|
- [Ray-Eldath](https://github.com/Ray-Eldath)
|
@@ -96,11 +94,11 @@ Any types of contribution are welcome. Thanks.
|
|
96
94
|
- [moycat](https://github.com/moycat)
|
97
95
|
- More
|
98
96
|
|
99
|
-
|
97
|
+
## Contributors 贡献者
|
100
98
|
|
101
99
|
![Contributors](https://contrib.rocks/image?repo=zhonger/jekyll-theme-H2O-ac)
|
102
100
|
|
103
|
-
|
101
|
+
## License 许可证
|
104
102
|
|
105
103
|
Jekyll-Theme-H2O-ac is licensed under [MIT](https://github.com/zhonger/jekyll-theme-H2O-ac/blob/master/LICENSE).
|
106
104
|
|
data/_config.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# jekyll-theme-h2o-ac
|
2
|
-
version: 1.
|
2
|
+
version: 1.3.0
|
3
3
|
|
4
4
|
# Site settings 配置站点
|
5
5
|
title: 'Mr Li'
|
@@ -32,9 +32,6 @@ pwa:
|
|
32
32
|
color: '#81BBFF'
|
33
33
|
short_name: 'lisz'
|
34
34
|
|
35
|
-
# International
|
36
|
-
language: zh-cn
|
37
|
-
|
38
35
|
# Navigation links
|
39
36
|
nav:
|
40
37
|
home: '/'
|
@@ -107,6 +104,9 @@ sns:
|
|
107
104
|
links:
|
108
105
|
# 'Mr Li': 'https://lisz.me'
|
109
106
|
|
107
|
+
# Calendar 日历
|
108
|
+
calendar: true
|
109
|
+
|
110
110
|
# Supports 赞助商
|
111
111
|
supports:
|
112
112
|
upyun:
|
@@ -155,7 +155,7 @@ pagination:
|
|
155
155
|
sort_field: 'date'
|
156
156
|
sort_reverse: true
|
157
157
|
|
158
|
-
exclude: ['node_modules', 'dev', 'package.json', '
|
158
|
+
exclude: ['node_modules', 'dev', 'package.json', 'webpack.config.js', '.gitignore', 'README.md', '*.gemspec', '*.gem']
|
159
159
|
|
160
160
|
# Markdown
|
161
161
|
markdown: kramdown
|
@@ -195,6 +195,9 @@ foreverblog: false
|
|
195
195
|
# Wormhole
|
196
196
|
wormhole: false
|
197
197
|
|
198
|
+
# NotByAI
|
199
|
+
notbyAI: false
|
200
|
+
|
198
201
|
# Alive time
|
199
202
|
alivetime: false
|
200
203
|
alivestart: "12/23/2021"
|
data/_data/locales/en.yml
CHANGED
@@ -3,9 +3,14 @@ panel:
|
|
3
3
|
posts: 'POSTS'
|
4
4
|
categories: 'CATEGORIES'
|
5
5
|
tags: 'TAGS'
|
6
|
+
calendar: 'CALENDAR'
|
7
|
+
calendar_less: 'Less'
|
8
|
+
calendar_more: 'More'
|
6
9
|
hot_tags: 'HOT TAGS'
|
7
10
|
links: 'LINKS'
|
8
11
|
update: 'RECENT UPDATES'
|
12
|
+
friends: 'FRIENDS'
|
13
|
+
nolink: 'No any links'
|
9
14
|
footer:
|
10
15
|
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
16
|
views: 'Total Views'
|
@@ -22,6 +27,7 @@ footer:
|
|
22
27
|
middle: 'Terms of Service'
|
23
28
|
right: 'page.'
|
24
29
|
btn: 'Accept'
|
30
|
+
name: 'Terms of Service'
|
25
31
|
post:
|
26
32
|
outline: 'Contents'
|
27
33
|
cover:
|
@@ -72,4 +78,5 @@ categories:
|
|
72
78
|
unit: 'categories,'
|
73
79
|
uncategory:
|
74
80
|
info: ''
|
75
|
-
unit: 'uncategoried articles )'
|
81
|
+
unit: 'uncategoried articles )'
|
82
|
+
langs: 'All available languages: '
|
data/_data/locales/ja.yml
CHANGED
@@ -3,9 +3,14 @@ panel:
|
|
3
3
|
posts: '記事'
|
4
4
|
categories: 'カテゴリー'
|
5
5
|
tags: 'タグ'
|
6
|
+
calendar: 'カレンダー'
|
7
|
+
calendar_less: '少ない'
|
8
|
+
calendar_more: '多い'
|
6
9
|
hot_tags: '人気タグ'
|
7
10
|
links: 'リンク'
|
8
11
|
update: '最新のアップデート'
|
12
|
+
friends: '友達'
|
13
|
+
nolink: 'リンクがありません'
|
9
14
|
footer:
|
10
15
|
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
16
|
views: '総閲覧数'
|
@@ -22,6 +27,7 @@ footer:
|
|
22
27
|
middle: 'このサイトについて'
|
23
28
|
right: 'をご覧ください。'
|
24
29
|
btn: '同意する'
|
30
|
+
name: '利用規約'
|
25
31
|
post:
|
26
32
|
outline: '目次'
|
27
33
|
cover:
|
@@ -72,4 +78,5 @@ categories:
|
|
72
78
|
unit: 'のカテゴリ、'
|
73
79
|
uncategory:
|
74
80
|
info: ''
|
75
|
-
unit: 'の未分類の記事 )'
|
81
|
+
unit: 'の未分類の記事 )'
|
82
|
+
langs: 'この記事の全ての言語バージョン:'
|
data/_data/locales/zh-Hans.yml
CHANGED
@@ -3,9 +3,14 @@ panel:
|
|
3
3
|
posts: '文章'
|
4
4
|
categories: '类别'
|
5
5
|
tags: '标签'
|
6
|
+
calendar: '日历'
|
7
|
+
calendar_less: '少'
|
8
|
+
calendar_more: '多'
|
6
9
|
hot_tags: '热门标签'
|
7
10
|
links: '链接'
|
8
11
|
update: '最近更新'
|
12
|
+
friends: '朋友们'
|
13
|
+
nolink: '暂无链接'
|
9
14
|
footer:
|
10
15
|
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
16
|
views: '总浏览量'
|
@@ -22,6 +27,7 @@ footer:
|
|
22
27
|
middle: '本站使用条款'
|
23
28
|
right: '了解更多。'
|
24
29
|
btn: '同意'
|
30
|
+
name: '使用条款'
|
25
31
|
post:
|
26
32
|
outline: '目录'
|
27
33
|
cover:
|
@@ -72,4 +78,5 @@ categories:
|
|
72
78
|
unit: '个,'
|
73
79
|
uncategory:
|
74
80
|
info: '未分类有'
|
75
|
-
unit: '篇。'
|
81
|
+
unit: '篇。'
|
82
|
+
langs: '本文提供的所有语言版本:'
|
data/_data/locales/zh-Hant.yml
CHANGED
@@ -3,9 +3,14 @@ panel:
|
|
3
3
|
posts: '文章'
|
4
4
|
categories: '類別'
|
5
5
|
tags: '標籤'
|
6
|
+
calendar: '日曆'
|
7
|
+
calendar_less: '少'
|
8
|
+
calendar_more: '多'
|
6
9
|
hot_tags: '熱門標簽'
|
7
10
|
links: '鏈接'
|
8
11
|
update: '最近更新'
|
12
|
+
friends: '朋友們'
|
13
|
+
nolink: '暫無鏈接'
|
9
14
|
footer:
|
10
15
|
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
16
|
views: '總瀏覽量'
|
@@ -22,6 +27,7 @@ footer:
|
|
22
27
|
middle: '本站使用條款'
|
23
28
|
right: '了解更多。'
|
24
29
|
btn: '同意'
|
30
|
+
name: '使用條款'
|
25
31
|
post:
|
26
32
|
outline: '目錄'
|
27
33
|
cover:
|
@@ -72,4 +78,5 @@ categories:
|
|
72
78
|
unit: '個,'
|
73
79
|
uncategory:
|
74
80
|
info: '未分類有'
|
75
|
-
unit: '篇。'
|
81
|
+
unit: '篇。'
|
82
|
+
langs: '本文提供的所有語言版本:'
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<section class="tags-card">
|
2
|
+
<div class="links">
|
3
|
+
<svg class="icon" aria-hidden="true">
|
4
|
+
<use xlink:href="#icon-calendar"></use>
|
5
|
+
</svg> {{ panel.calendar }}
|
6
|
+
</div>
|
7
|
+
<div id="cal-heatmap">
|
8
|
+
<div id="ex-ghDay" class="calendar-top">
|
9
|
+
<a id="ex-ghDay-prev" class="button" href="#" aria-label="Prev month">
|
10
|
+
<svg class="icon" aria-hidden="true">
|
11
|
+
<use xlink:href="#icon-left"></use>
|
12
|
+
</svg>
|
13
|
+
</a>
|
14
|
+
<a id="ex-ghDay-next" class="button" href="#" aria-label="Next month">
|
15
|
+
<svg class="icon" aria-hidden="true">
|
16
|
+
<use xlink:href="#icon-right"></use>
|
17
|
+
</svg>
|
18
|
+
</a>
|
19
|
+
<a id="ex-ghDay-today" class="button" href="#" aria-label="Rotate view to today">
|
20
|
+
<svg class="icon" aria-hidden="true">
|
21
|
+
<use xlink:href="#icon-rotate"></use>
|
22
|
+
</svg>
|
23
|
+
</a>
|
24
|
+
<div class="legends">
|
25
|
+
<span class="text">{{panel.calendar_less}}</span>
|
26
|
+
<div id="ex-ghDay-legend"></div>
|
27
|
+
<span class="text">{{panel.calendar_more}}</span>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</section>
|
data/_includes/footer.html
CHANGED
@@ -2,88 +2,121 @@
|
|
2
2
|
{% assign locales = site.data.locales[lang] %}
|
3
3
|
{% assign footer = locales.footer%}
|
4
4
|
<footer class="g-footer">
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
5
|
+
<div class="g-container">
|
6
|
+
<div class="g-left">
|
7
|
+
<section class="links">
|
8
|
+
{{ footer.driver }}
|
9
|
+
{% 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 %}
|
10
|
+
{% if site.supports.webify %} & <a href="https://webify.cloudbase.net/" target="_blank" class="extlinks">CloudBase Webify</a> {% endif %}
|
11
|
+
</section>
|
12
|
+
<section class="links">{{ site.title }} ©
|
13
|
+
{% assign current = "now" | date: "%Y" | plus: 0%}
|
14
|
+
{% unless site.footer.since and site.footer.since == current %}
|
15
|
+
{{ site.footer.since }}
|
16
|
+
-
|
17
|
+
{% endunless %}
|
18
|
+
{{ current }}
|
19
|
+
{% if site.beian and site.beian != "" %}
|
20
|
+
<a href="https://beian.miit.gov.cn/" target="_blank" class="extlinks">{{ site.beian }}</a>
|
21
|
+
{% endif %}
|
22
|
+
<a href="/rss.xml" target="_blank" aria-label="Terms of Service" class="others">
|
23
|
+
<svg class="icon" aria-hidden="true">
|
24
|
+
<use xlink:href="#icon-rss"></use>
|
25
|
+
</svg> RSS
|
26
|
+
</a>
|
27
|
+
<a href="/tos" target="_blank" aria-label="Terms of Service" class="others">
|
28
|
+
<svg class="icon" aria-hidden="true">
|
29
|
+
<use xlink:href="#icon-tos"></use>
|
30
|
+
</svg> {{footer.tos.name}}
|
31
|
+
</a>
|
32
|
+
</section>
|
33
|
+
{% if site.busuanzi %}
|
34
|
+
<section class="links">
|
35
|
+
<span id="busuanzi_container_site_pv">
|
36
|
+
<svg class="icon" aria-hidden="true">
|
37
|
+
<use xlink:href="#icon-pv"></use>
|
38
|
+
</svg> {{ footer.views }} <span id="busuanzi_value_site_pv"></span> <b>·</b>
|
39
|
+
</span>
|
40
|
+
<span id="busuanzi_container_site_uv">
|
41
|
+
<svg class="icon" aria-hidden="true">
|
42
|
+
<use xlink:href="#icon-user"></use>
|
43
|
+
</svg> {{ footer.visitors }} <span id="busuanzi_value_site_uv"></span>
|
44
|
+
</span>
|
45
|
+
</section>
|
46
|
+
{% endif %}
|
47
|
+
<section>
|
48
|
+
{% if site.alivetime %}
|
49
|
+
{{ footer.running.info }}
|
50
|
+
<span class="alivetime_days"></span> {{ footer.running.day }}
|
51
|
+
<span class="alivetime_hours"></span> {{ footer.running.hour }}
|
52
|
+
<span class="alivetime_minutes"></span> {{ footer.running.minute }}
|
53
|
+
<span class="alivetime_seconds"></span> {{ footer.running.second }}
|
54
|
+
{% endif %}
|
55
|
+
</section>
|
56
|
+
</div>
|
57
|
+
<div class="g-right">
|
58
|
+
{% if site.supports.upyun %}
|
59
|
+
<section>
|
60
|
+
<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" alt="upyun" /></a>
|
61
|
+
</section>
|
62
|
+
{% endif %}
|
63
|
+
{% if site.foreverblog or site.wormhole or site.notbyAI %}
|
64
|
+
<section class="badges">
|
65
|
+
{% if site.foreverblog %}
|
66
|
+
<a href="https://www.foreverblog.cn/" target="_blank" class="foreverblog" aria-label="foreverblog">
|
67
|
+
<img src="https://img.foreverblog.cn/logo_en_default.png" alt="">
|
68
|
+
</a>
|
69
|
+
{% endif %}
|
70
|
+
{% if site.wormhole %}
|
71
|
+
<a href="https://www.foreverblog.cn/go.html" target="_blank" class="wormhole" aria-label="wormhole">
|
72
|
+
<img src="https://img.foreverblog.cn/wormhole_3.gif" alt="" title="穿梭虫洞-随机访问十年之约友链博客">
|
73
|
+
</a>
|
74
|
+
{% endif%}
|
75
|
+
{% if site.notbyAI %}
|
76
|
+
<a href="https://notbyai.fyi/" target="_blank" class="notbyAI" aria-label="notbyAI">
|
77
|
+
<img src="{{ "/assets/icons/notbyAI-white.png" | prepend: site.baseurl }}" alt="Written by Human, Not by AI">
|
78
|
+
</a>
|
79
|
+
{% endif %}
|
80
|
+
</section>
|
81
|
+
{% endif %}
|
82
|
+
</div>
|
83
|
+
{% if site.cnzz %}
|
84
|
+
<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>
|
46
85
|
{% endif %}
|
47
|
-
|
48
|
-
<br/>
|
49
|
-
{% endif %}
|
50
|
-
{% if site.foreverblog %}
|
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>
|
54
|
-
{% endif %}
|
55
|
-
{% if site.wormhole %}
|
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>
|
59
|
-
{% endif%}
|
60
|
-
</section>
|
86
|
+
</div>
|
61
87
|
</footer>
|
62
88
|
<div class="cookie-tip">
|
63
89
|
{{ cookie.cookieconsent_status }} {{ footer.tos.left }}「 <a href="{{ site.tos | prepend: site.baseurl }}">{{ footer.tos.middle }}</a> 」{{ footer.tos.right }}
|
64
90
|
|
65
91
|
<button id="accept-tos">{{ footer.tos.btn }}</button>
|
66
92
|
</div>
|
67
|
-
<button id="list" aria-label="Scroll back to top" class="mobile-list" type="button">
|
68
|
-
<svg class="icon list day" aria-hidden="true">
|
69
|
-
<use xlink:href="#icon-list-day"></use>
|
70
|
-
</svg>
|
71
|
-
<svg class="icon list night" aria-hidden="true">
|
72
|
-
<use xlink:href="#icon-list-night"></use>
|
73
|
-
</svg>
|
74
|
-
<svg class="icon exit day" aria-hidden="true">
|
75
|
-
<use xlink:href="#icon-exit-day"></use>
|
76
|
-
</svg>
|
77
|
-
<svg class="icon exit night" aria-hidden="true">
|
78
|
-
<use xlink:href="#icon-exit-night"></use>
|
79
|
-
</svg>
|
80
|
-
</button>
|
81
|
-
<button id="bttb" aria-label="Scroll back to top" class="bttb" type="button">
|
82
|
-
<svg class="icon up day" aria-hidden="true">
|
83
|
-
<use xlink:href="#icon-up-day"></use>
|
84
|
-
</svg>
|
85
|
-
<svg class="icon up night" aria-hidden="true">
|
86
|
-
<use xlink:href="#icon-up-night"></use>
|
87
|
-
</svg>
|
88
|
-
</button>
|
89
93
|
|
94
|
+
<section id="tools">
|
95
|
+
{% if page.submenu %}
|
96
|
+
<div class="tool collection">
|
97
|
+
<svg class="icon b1 active" aria-hidden="true">
|
98
|
+
<use xlink:href="#icon-submenu"></use>
|
99
|
+
</svg>
|
100
|
+
<svg class="icon b2" aria-hidden="true">
|
101
|
+
<use xlink:href="#icon-exit"></use>
|
102
|
+
</svg>
|
103
|
+
</div>
|
104
|
+
{% endif %}
|
105
|
+
{% if page.content contains 'h1' or page.content contains 'h2' or page.content contains 'h3' or page.content contains 'h4' or page.content contains 'h5' or page.content contains 'h6' and site.toc %}
|
106
|
+
<div class="tool toc">
|
107
|
+
<svg class="icon b1 active" aria-hidden="true">
|
108
|
+
<use xlink:href="#icon-toc"></use>
|
109
|
+
</svg>
|
110
|
+
<svg class="icon b2" aria-hidden="true">
|
111
|
+
<use xlink:href="#icon-exit"></use>
|
112
|
+
</svg>
|
113
|
+
</div>
|
114
|
+
{% endif %}
|
115
|
+
</section>
|
116
|
+
<section id="bttb" aria-label="Scroll back to top" class="bttb">
|
117
|
+
<div class="tool">
|
118
|
+
<svg class="icon top" aria-hidden="true">
|
119
|
+
<use xlink:href="#icon-top"></use>
|
120
|
+
</svg>
|
121
|
+
</div>
|
122
|
+
</section>
|
data/_includes/head.html
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
<meta property="og:description" content="{{ site.description }}">
|
14
14
|
<meta property="og:site_name" content="{{ site.title }}">
|
15
15
|
<meta property="og:gray" content="{{ site.gray }}">
|
16
|
+
<meta property="og:lang" content="{{ lang }}">
|
16
17
|
{% if site.alivetime %}
|
17
18
|
<meta name="alivestart" content="{{ site.alivestart }}">
|
18
19
|
{% endif %}
|
@@ -41,6 +42,9 @@
|
|
41
42
|
{% if site.prism.line_numbers %}
|
42
43
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.28.0/plugins/line-numbers/prism-line-numbers.min.css">
|
43
44
|
{% endif %}
|
45
|
+
{% if site.calendar %}
|
46
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cal-heatmap@4.2.4/dist/cal-heatmap.min.css">
|
47
|
+
{% endif %}
|
44
48
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@waline/client/dist/waline.css" />
|
45
49
|
<link rel="stylesheet" href="{{ "/assets/css/app.min.css" | prepend: site.baseurl }}">
|
46
50
|
<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
|
data/_includes/header.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<header class="g-header">
|
1
|
+
<header class="g-header" data-theme="{{ site.theme-color }}">
|
2
2
|
<div class="g-logo">
|
3
3
|
<a href="{{ "/" | relative_url }}" aria-label="logo"></a>
|
4
4
|
</div>
|
@@ -19,7 +19,7 @@
|
|
19
19
|
{% for i in site.nav %}
|
20
20
|
{% if i[1].first %}
|
21
21
|
<li class="dropdown">
|
22
|
-
<a class="dropdown-toggle"> {{ i[0] }} </a>
|
22
|
+
<a class="dropdown-toggle" href="#"> {{ i[0] }} </a>
|
23
23
|
<ul class="dropdown-menu">
|
24
24
|
{% for j in i[1] %}
|
25
25
|
<li>
|
data/_includes/mathjax.html
CHANGED
@@ -1,20 +1,15 @@
|
|
1
|
-
<!--
|
2
|
-
Author: Ray-Eldath
|
3
|
-
refer to:
|
4
|
-
- http://docs.mathjax.org/en/latest/options/index.html
|
5
|
-
-->
|
6
1
|
{% if site.mathjax %}
|
7
2
|
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
8
|
-
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-
|
3
|
+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax-full@3.2.2/es5/tex-mml-svg.min.js"></script>
|
9
4
|
<script type="text/x-mathjax-config">
|
10
5
|
MathJax.Hub.Config({
|
11
6
|
jax: ["input/TeX", "output/HTML-CSS"],
|
12
7
|
tex2jax: {
|
13
|
-
inlineMath: [ ["
|
14
|
-
|
8
|
+
inlineMath: [['$', '$'], ["\\(", "\\)"]],
|
9
|
+
processEscapes: true,
|
15
10
|
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
|
16
11
|
},
|
17
12
|
"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"] }
|
18
13
|
});
|
19
14
|
</script>
|
20
|
-
{% endif %}
|
15
|
+
{% endif %}
|
data/_includes/sidebar.html
CHANGED
@@ -45,7 +45,9 @@
|
|
45
45
|
</ul>
|
46
46
|
{% endif %}
|
47
47
|
</section>
|
48
|
-
|
48
|
+
{% if site.calendar %}
|
49
|
+
{% include calendar.html %}
|
50
|
+
{% endif %}
|
49
51
|
{% if site.recommend-tags and site.tags.size>0 %}
|
50
52
|
{% assign max_tag_count = 0 %}
|
51
53
|
{% for tag in site.tags %}
|
@@ -54,7 +56,12 @@
|
|
54
56
|
{% endif %}
|
55
57
|
{% endfor %}
|
56
58
|
<section class="tags-card">
|
57
|
-
<div class="links" rel="links">
|
59
|
+
<div class="links" rel="links">
|
60
|
+
<svg class="icon" aria-hidden="true">
|
61
|
+
<use xlink:href="#icon-tags"></use>
|
62
|
+
</svg>
|
63
|
+
{{ panel.hot_tags }}
|
64
|
+
</div>
|
58
65
|
{% assign pnum = 0 %}
|
59
66
|
{% for i in (1..max_tag_count) reversed %}
|
60
67
|
{% for tag in site.tags %}
|
@@ -75,7 +82,12 @@
|
|
75
82
|
|
76
83
|
{% if site.links.size > 0 %}
|
77
84
|
<section class="tags-card">
|
78
|
-
<div class="links" rel="links">
|
85
|
+
<div class="links" rel="links">
|
86
|
+
<svg class="icon" aria-hidden="true">
|
87
|
+
<use xlink:href="#icon-links"></use>
|
88
|
+
</svg>
|
89
|
+
{{ panel.links }}
|
90
|
+
</div>
|
79
91
|
{% for link in site.links %}
|
80
92
|
<a href="{{ link[1] }}" target="_blank" class="tag" rel="noreferrer"> {{ link[0] }} </a>
|
81
93
|
{% endfor %}
|
@@ -84,7 +96,12 @@
|
|
84
96
|
|
85
97
|
<section class="tags-card">
|
86
98
|
{% assign posts = site.posts | sort: "date" | reverse %}
|
87
|
-
<div class="links">
|
99
|
+
<div class="links">
|
100
|
+
<svg class="icon" aria-hidden="true">
|
101
|
+
<use xlink:href="#icon-new"></use>
|
102
|
+
</svg>
|
103
|
+
{{ panel.update }}
|
104
|
+
</div>
|
88
105
|
<ul class="latest-articles">
|
89
106
|
{% for post in posts limit:3 %}
|
90
107
|
<li>
|