jekyll-theme-h2o-ac 1.1.8 → 1.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -4
- data/_config.yml +19 -11
- data/_data/cv.yml +132 -0
- data/_data/links.yml +14 -0
- data/_includes/footer.html +14 -1
- data/_includes/head.html +2 -2
- data/_includes/header.html +20 -5
- data/_includes/post-head.html +8 -3
- data/_layouts/archives.html +24 -40
- data/_layouts/cv.html +197 -0
- data/_layouts/links.html +46 -0
- data/_layouts/page.html +18 -3
- data/_layouts/post.html +51 -1
- data/_layouts/tags.html +26 -10
- data/assets/css/app.min.css +1 -1
- data/assets/css/cv.min.css +1 -0
- data/assets/icons/upyun.png +0 -0
- data/assets/img/h3.webp +0 -0
- data/assets/js/index.min.js +1 -1
- data/blog/index.html +2 -2
- metadata +14 -10
- data/assets/fonts/Merriweather-Black.ttf +0 -0
- data/assets/fonts/Merriweather-Light.ttf +0 -0
- data/assets/fonts/Merriweather-Regular.ttf +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2d36d72b0ad3d2422ef1678387ebf5c605e742eb89e164c95ad822a82ff6362
|
4
|
+
data.tar.gz: 3775310005224f39097d1c7486cba2c98d725cd6e210da1884caf8f97efc363c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed19e85c910f82546061e1e915a11e04abbc50727354ff633d9a3f1c9d04f3a8ba659280ebbb3c56551f14310734ee697233837e5c7d4ba7673d215f9f53e2d9
|
7
|
+
data.tar.gz: db819da99cfdd4893b99655ad82705eaaa791dee09e426ce2f9df2a654c31b53d3b1d735de888282e032467f0b98a0e16f12fbc5b98dde02299b934c099304f3
|
data/README.md
CHANGED
@@ -3,15 +3,16 @@
|
|
3
3
|
# jekyll-theme-H2O-ac
|
4
4
|
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/jekyll-theme-h2o-ac.svg)](https://badge.fury.io/rb/jekyll-theme-h2o-ac)
|
6
|
-
[![
|
6
|
+
[![pages-build-deployment](https://github.com/zhonger/jekyll-theme-H2O-ac/actions/workflows/pages/pages-build-deployment/badge.svg?branch=gh-pages)](https://github.com/zhonger/jekyll-theme-H2O-ac/actions/workflows/pages/pages-build-deployment)
|
7
7
|
[![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
8
|
[![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
9
|
![Jekyll Version](https://img.shields.io/badge/Jekyll-4.2.1-blue)
|
10
10
|
![Ruby Version](https://img.shields.io/badge/Ruby-3.1.0-blue)
|
11
|
+
[![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)
|
11
12
|
|
12
13
|
基于 Jekyll 和 [H2O](https://github.com/kaeyleo/jekyll-theme-H2O) 主题、适合学术研究人员和运维开发人员的博客主题模板。
|
13
14
|
|
14
|
-
|
15
|
+
A Jekyll theme for researchers and maintainers based on Jekyll and [H2O](https://github.com/kaeyleo/jekyll-theme-H2O) theme.
|
15
16
|
|
16
17
|
</div>
|
17
18
|
|
@@ -46,6 +47,13 @@ Using your smartphone to scan the QR Code
|
|
46
47
|
- 配置项
|
47
48
|
- 前端自动构建工作流优化
|
48
49
|
- 文章页侧边导航
|
50
|
+
- Waline 评论系统
|
51
|
+
- 深色模式切换按钮
|
52
|
+
- 时间本地化
|
53
|
+
- PWA
|
54
|
+
- 提示框支持
|
55
|
+
- 文章置顶
|
56
|
+
- 版权显式声明
|
49
57
|
|
50
58
|
#### EN
|
51
59
|
|
@@ -59,6 +67,13 @@ Using your smartphone to scan the QR Code
|
|
59
67
|
- New Settings
|
60
68
|
- Optimize the automatic workflow for static files
|
61
69
|
- The TOC for posts
|
70
|
+
- Waline comments
|
71
|
+
- Dark mode switch button
|
72
|
+
- Time localization
|
73
|
+
- PWA
|
74
|
+
- Premonition
|
75
|
+
- Top article pin
|
76
|
+
- Copyright statement for articles
|
62
77
|
|
63
78
|
### Usage 快速开始
|
64
79
|
|
@@ -70,16 +85,25 @@ Please refer to [H2O-ac theme for Jekyll](https://lisz.me/tech/webmaster/new-the
|
|
70
85
|
|
71
86
|
Any types of contribution are welcome. Thanks.
|
72
87
|
|
73
|
-
接受各种形式的贡献,包括不限于提交问题与需求,修复代码。等待您的 ```Pull Request
|
88
|
+
接受各种形式的贡献,包括不限于提交问题与需求,修复代码。等待您的 ```Pull Request```。
|
74
89
|
|
75
|
-
|
90
|
+
### Thanks 感谢参与 H2O 代码贡献的伙伴
|
76
91
|
|
77
92
|
- [kaeyleo](https://github.com/kaeyleo/)
|
78
93
|
- [Ray-Eldath](https://github.com/Ray-Eldath)
|
79
94
|
- [sctop](https://github.com/sctop)
|
80
95
|
- [bananaappletw](https://github.com/bananaappletw)
|
81
96
|
- [moycat](https://github.com/moycat)
|
97
|
+
- More
|
98
|
+
|
99
|
+
### Contributors 贡献者
|
100
|
+
|
101
|
+
![Contributors](https://contrib.rocks/image?repo=zhonger/jekyll-theme-H2O-ac)
|
82
102
|
|
83
103
|
### License 许可证
|
84
104
|
|
85
105
|
Jekyll-Theme-H2O-ac is licensed under [MIT](https://github.com/zhonger/jekyll-theme-H2O-ac/blob/master/LICENSE).
|
106
|
+
|
107
|
+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fzhonger%2Fjekyll-theme-H2O-ac.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fzhonger%2Fjekyll-theme-H2O-ac?ref=badge_large)
|
108
|
+
|
109
|
+
![Alt](https://repobeats.axiom.co/api/embed/c3257de0cec8e91520debc3232103da52e4727b4.svg "Repobeats analytics image")
|
data/_config.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# jekyll-theme-h2o-ac
|
2
|
-
version: 1.1.
|
2
|
+
version: 1.1.11
|
3
3
|
|
4
4
|
# Site settings 配置站点
|
5
5
|
title: 'Mr Li'
|
@@ -37,8 +37,8 @@ nav:
|
|
37
37
|
blog: '/blog/index.html'
|
38
38
|
archives: '/archives.html'
|
39
39
|
tags: '/tags.html'
|
40
|
-
|
41
|
-
|
40
|
+
about:
|
41
|
+
RSS: '/feed.xml'
|
42
42
|
|
43
43
|
# Gray for the whole site 全站灰色
|
44
44
|
gray: false
|
@@ -90,16 +90,21 @@ postPatterns: 'circuitBoard'
|
|
90
90
|
# SNS settings 配置社交网站
|
91
91
|
# url: email, weibo, zhihu, twitter, instagram, juejin, github, douban, facebook, dribble, uicn, jianshu, medium, linkedin
|
92
92
|
sns:
|
93
|
-
google-scholar: 'https://scholar.google.com/citations?user=AUupIooAAAAJ'
|
94
|
-
researchgate: 'https://www.researchgate.net/profile/Shengzhou-Li'
|
95
|
-
ORCID: 'https://orcid.org/0000-0001-6973-3825'
|
96
|
-
github: 'https://github.com/zhonger'
|
97
|
-
linkedin: 'https://www.linkedin.com/in/shengzhouli/'
|
98
|
-
segmentfault: 'https://segmentfault.com/u/wuwozhonger'
|
93
|
+
# google-scholar: 'https://scholar.google.com/citations?user=AUupIooAAAAJ'
|
94
|
+
# researchgate: 'https://www.researchgate.net/profile/Shengzhou-Li'
|
95
|
+
# ORCID: 'https://orcid.org/0000-0001-6973-3825'
|
96
|
+
# github: 'https://github.com/zhonger'
|
97
|
+
# linkedin: 'https://www.linkedin.com/in/shengzhouli/'
|
98
|
+
# segmentfault: 'https://segmentfault.com/u/wuwozhonger'
|
99
99
|
|
100
100
|
# Links 友情链接
|
101
101
|
links:
|
102
|
-
'Mr Li': 'https://lisz.me'
|
102
|
+
# 'Mr Li': 'https://lisz.me'
|
103
|
+
|
104
|
+
# Supports 赞助商
|
105
|
+
supports:
|
106
|
+
upyun:
|
107
|
+
webify:
|
103
108
|
|
104
109
|
# Beian 备案号
|
105
110
|
beian: '沪ICP备xxxxxxxx号'
|
@@ -127,6 +132,9 @@ google_analytics:
|
|
127
132
|
# Google Search
|
128
133
|
google_search:
|
129
134
|
|
135
|
+
# ToS
|
136
|
+
tos: /tos.html
|
137
|
+
|
130
138
|
# Tags 设置标签
|
131
139
|
recommend-tags: true # whether or not display recommend-tags on the sidebar
|
132
140
|
recommend-condition-size: 12 # a tag will be recommended if the size of it is more than this value
|
@@ -134,7 +142,7 @@ recommend-condition-size: 12 # a tag will be recommended if the size of it is mo
|
|
134
142
|
# Build settings
|
135
143
|
pagination:
|
136
144
|
enabled: true
|
137
|
-
per_page:
|
145
|
+
per_page: 5
|
138
146
|
permalink: 'page:num/'
|
139
147
|
title: ':title | :num of :max'
|
140
148
|
limit: 0
|
data/_data/cv.yml
ADDED
@@ -0,0 +1,132 @@
|
|
1
|
+
- lang: "zh"
|
2
|
+
name: "诸葛亮"
|
3
|
+
motivation: "云平台开发工程师"
|
4
|
+
photo: "/assets/img/h3.webp"
|
5
|
+
email: "zhuge@live.cn"
|
6
|
+
github: "zhuge"
|
7
|
+
linkedin: "zhuge"
|
8
|
+
website: "https://zhuge.me"
|
9
|
+
languages:
|
10
|
+
- idiom: "普通话"
|
11
|
+
- idiom: "闽南语"
|
12
|
+
educations:
|
13
|
+
- degree: "本科-计算机科学与技术"
|
14
|
+
university: "卧龙大学"
|
15
|
+
time: "2012-2016"
|
16
|
+
- degree: "研究生-计算机科学与技术"
|
17
|
+
university: "卧龙大学"
|
18
|
+
time: "2016-2019"
|
19
|
+
- degree: "博士-计算机科学与技术"
|
20
|
+
university: "卧龙大学"
|
21
|
+
time: "2019-至今"
|
22
|
+
skills:
|
23
|
+
- title: "后端技能"
|
24
|
+
skill:
|
25
|
+
- GO
|
26
|
+
- Python
|
27
|
+
- PHP
|
28
|
+
- NodeJS
|
29
|
+
- title: "前端技能"
|
30
|
+
skill:
|
31
|
+
- HTML/CSS/JS
|
32
|
+
- VueJS
|
33
|
+
- title: "运维开发技能"
|
34
|
+
skill:
|
35
|
+
- Docker
|
36
|
+
- KVM
|
37
|
+
experience:
|
38
|
+
- role: "三国鼎立之论"
|
39
|
+
company: "科研方向"
|
40
|
+
time: "2017.10 - 2019.6"
|
41
|
+
details: "分析吴蜀魏三国鼎立的内因、外因,并预测未来三国的发展趋势。"
|
42
|
+
tech: "技术:Python,常用机器学习算法(SVM,RF,DT,KNN)"
|
43
|
+
- role: "吴蜀联盟"
|
44
|
+
company: "主要负责人"
|
45
|
+
time: "2017.10 - 2019.6"
|
46
|
+
details: "前往东吴舌战群儒,借东风火烧连营,草船借箭。"
|
47
|
+
tech: "技术:Linux,KVM,Docker,PHP,VueJS"
|
48
|
+
- role : "七擒孟获"
|
49
|
+
company: "主要负责人"
|
50
|
+
time: "2018.6 - 2018.10"
|
51
|
+
details: "主要负责了制定抓孟获的思路和方案,七擒七纵终于收服了孟获。"
|
52
|
+
tech: "技术:HTML/CSS/JS,AMAP,REST API"
|
53
|
+
honors:
|
54
|
+
- 2019 年卧龙大学优秀毕业生
|
55
|
+
- 2012~至今 卧龙大学学业奖学金/每年
|
56
|
+
- 2016 年卧龙大学校长奖学金
|
57
|
+
- 2016 年卧龙大学优秀毕业生
|
58
|
+
publications:
|
59
|
+
- "<b>诸葛亮</b>, 关羽, 张飞, 赵云, 刘备*. 《七出岐山的必要性》. 三国志快报, 2021(1):110-118."
|
60
|
+
- "<b>诸葛亮</b>, 周瑜, 关羽, 黄盖, 鲁肃, 孙权*, 刘备*. 《吴蜀联盟为什么行》. 三国志简报, 2020(1):110-118."
|
61
|
+
- "<b>诸葛亮</b>, 周瑜, 荀彧, 曹操*, 孙权*, 刘备*. 《三个国家的浪漫史》. 三国志综述, 2022(1):110-118."
|
62
|
+
introduction:
|
63
|
+
- title: "研究内容"
|
64
|
+
content: "研究生期间主要从事三国鼎立的研究,在本人的帮助下发展了吴蜀联盟 <sup>[2]</sup>;在后期针对魏国的强大作出了七出岐山的决定 <sup>[1]</sup>;与三国主要负责人合作完成了《三个国家的浪漫史》 <sup>[3]</sup>。"
|
65
|
+
- title: "开发平台"
|
66
|
+
content: "蜀汉建立的元老,为蜀国的发展和强大贡献了力量。(以上内容均为展示效果填充需要,内容请勿当真!!!)"
|
67
|
+
- lang: "en"
|
68
|
+
name: "Zhuge Liang"
|
69
|
+
motivation: "Cloud Computing Developer"
|
70
|
+
photo: "/assets/img/h3.webp"
|
71
|
+
email: "zhuge@live.cn"
|
72
|
+
github: "zhuge"
|
73
|
+
linkedin: "zhuge"
|
74
|
+
website: "https://zhuge.me"
|
75
|
+
languages:
|
76
|
+
- idiom: "Chinese"
|
77
|
+
- idiom: "Minnan"
|
78
|
+
educations:
|
79
|
+
- degree: "Bachelor-Computer Science"
|
80
|
+
university: "Wolong University"
|
81
|
+
time: "2012-2016"
|
82
|
+
- degree: "Master-Computer Science"
|
83
|
+
university: "Wolong University"
|
84
|
+
time: "2016-2019"
|
85
|
+
- degree: "Doctor-Computer Science"
|
86
|
+
university: "Wolong University"
|
87
|
+
time: "2019-Now"
|
88
|
+
skills:
|
89
|
+
- title: "Backend Skills"
|
90
|
+
skill:
|
91
|
+
- Go
|
92
|
+
- Python
|
93
|
+
- PHP
|
94
|
+
- NodeJS
|
95
|
+
- title: "Frontend Skills"
|
96
|
+
skill:
|
97
|
+
- HTML/CSS/JS
|
98
|
+
- VueJS
|
99
|
+
- title: "DevOps Skills"
|
100
|
+
skill:
|
101
|
+
- Docker
|
102
|
+
- KVM
|
103
|
+
experience:
|
104
|
+
- role: "Three Kingdoms"
|
105
|
+
company: "Research"
|
106
|
+
time: "2017.10 - 2019.6"
|
107
|
+
details: "Analyze the internal and external factors of the three kingdoms of Wu, Shu and Wei, and predict the development trend of the three kingdoms in the future."
|
108
|
+
tech: "Techs: Python, Common ML algorithms (SVM, RF, DT, KNN)"
|
109
|
+
- role: "The union of Shu and Wu"
|
110
|
+
company: "Principal Researcher"
|
111
|
+
time: "2017.10 - 2019.6"
|
112
|
+
details: "Go to the Eastern Wu tongue to fight against the Confucian scholars, borrow the Dongfeng fire to burn the company camp, and borrow arrows from the thatched boat."
|
113
|
+
tech: "Techs: Linux, KVM, Docker, PHP, VueJS"
|
114
|
+
- role : "Seven Release of MengHuo"
|
115
|
+
company: "Principal Researcher"
|
116
|
+
time: "2018.6 - 2018.10"
|
117
|
+
details: "Mainly responsible for formulating ideas and plans for capturing Meng Huo, seven captures and seven verticals finally subdued Meng Huo."
|
118
|
+
tech: "Techs: HTML/CSS/JS, AMAP, REST API"
|
119
|
+
honors:
|
120
|
+
- Award of Wolong University Outstanding Graduates, 2019
|
121
|
+
- Award of Wolong University President cholarship, 2016
|
122
|
+
- Award of Wolong University Outstanding Graduates, 2016
|
123
|
+
- Graduate Scholarship, 2012~Now/every year
|
124
|
+
publications:
|
125
|
+
- "<b>Zhuge Liang</b>, Guan Yu, Zhang Fei, Zhao Yun, Liu Bei*. 'The necessity of going out Qishan for serveral times'. SGZL, 2021(1):110-118."
|
126
|
+
- "<b>Zhuge Liang</b>, Zhou Yu, Guan Yu, Huang Gai, Lu Su, Sun Quan*, Liu Bei*. 'Why the union of Shu and Wu is good'. SGZB, 2020(1):110-118."
|
127
|
+
- "<b>Zhuge Liang</b>, Zhou Yu, Xun Yu, Cao Cao*, Sun Quan*, Liu Bei*. 'Romance of the three Kingdoms'. SGZR, 2022(1):110-118."
|
128
|
+
introduction:
|
129
|
+
- title: "Researches"
|
130
|
+
content: "During the postgraduate period, he was mainly engaged in the research of the Three Kingdoms, and with my help, he developed the Wushu Alliance <sup>[2]</sup>; in the later period, he made a decision to go out of Qishan in response to the strength of the Wei State <sup>[1]</sup>; Cooperated with the principals of the Three Kingdoms to complete 'The Romance of the Three Kingdoms'<sup>[3]</sup>."
|
131
|
+
- title: "Projects"
|
132
|
+
content: "The elders established by Shu Han contributed to the development and strength of the Shu Kingdom. (The above content maybe faake for filling needs, please do not take it seriously!!!)"
|
data/_data/links.yml
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
links:
|
2
|
+
- name: "Github"
|
3
|
+
info: "免费代码托管"
|
4
|
+
img: "https://cdn-icons-png.flaticon.com/512/1051/1051326.png"
|
5
|
+
url: "https://github.com"
|
6
|
+
- name: "Cloudflare"
|
7
|
+
info: "全球加速网络"
|
8
|
+
img: "https://cdn-icons-png.flaticon.com/512/5969/5969044.png"
|
9
|
+
url: "https://cloudflare.com"
|
10
|
+
friends:
|
11
|
+
- name: "Mr Li"
|
12
|
+
info: "zhonger 的博客"
|
13
|
+
img: "https://lisz.me/assets/img/profile.webp"
|
14
|
+
url: "https://lisz.me"
|
data/_includes/footer.html
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
<a href="https://beian.miit.gov.cn/" target="_blank">{{ site.beian }}</a>
|
11
11
|
{% endif %}
|
12
12
|
</section>
|
13
|
-
<section>Powered by <a href="//jekyllrb.com">Jekyll</a> & <a href="https://github.com/zhonger/jekyll-theme-H2O-ac">H2O-ac</a> {% if site.version %}v{{ site.version }} {% endif %} (based on <a href="https://github.com/kaeyleo/jekyll-theme-H2O">H2O</a>)
|
13
|
+
<section>Powered by <a href="//jekyllrb.com">Jekyll</a> & <a href="https://github.com/zhonger/jekyll-theme-H2O-ac">H2O-ac</a> {% if site.version %}v{{ site.version }} {% endif %} (based on <a href="https://github.com/kaeyleo/jekyll-theme-H2O">H2O</a>) {% if site.supports.webify %} & <a href="https://webify.cloudbase.net/" target="_blank">CloudBase Webify</a> {% endif %}
|
14
14
|
{% if site.cnzz %}
|
15
15
|
<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
16
|
{% endif %}
|
@@ -25,7 +25,20 @@
|
|
25
25
|
</span>
|
26
26
|
</section>
|
27
27
|
{% endif %}
|
28
|
+
{% if site.supports.upyun %}
|
29
|
+
<section>
|
30
|
+
<a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank">本网站由 <img src="{{ "/assets/icons/upyun.png" | relative_url }}" class="upyun" /></span> 提供 CDN 加速/云存储服务</a>
|
31
|
+
</section>
|
32
|
+
{% endif %}
|
28
33
|
</footer>
|
34
|
+
<div class="cookie-tip">
|
35
|
+
{% if site.language == 'zh-cn' %}
|
36
|
+
{{ cookie.cookieconsent_status }}为了提升本站的使用体验和必要功能的正常使用,本站会使用本地 Cookie。详细请查看「<a href="{{ site.tos | prepend: site.baseurl }}">本站使用条款</a>」了解更多。
|
37
|
+
{% else %}
|
38
|
+
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.
|
39
|
+
{% endif %}
|
40
|
+
<button id="accept-tos">同意(Accept)</button>
|
41
|
+
</div>
|
29
42
|
<button id="list" aria-label="Scroll back to top" class="mobile-list" type="button">
|
30
43
|
<svg class="icon list day" aria-hidden="true">
|
31
44
|
<use xlink:href="#icon-list-day"></use>
|
data/_includes/head.html
CHANGED
@@ -18,13 +18,13 @@
|
|
18
18
|
{% endif %}
|
19
19
|
<meta name="theme-color" content="{{ site.pwa.color }}" />
|
20
20
|
<link rel="manifest" href="{{ "/manifest.json" | prepend: site.baseurl }}" />
|
21
|
-
<link rel="apple-touch-icon" href="{{ "/assets/img/touch/apple-touch-icon.png" | prepend: site.baseurl" />
|
21
|
+
<link rel="apple-touch-icon" href="{{ "/assets/img/touch/apple-touch-icon.png" | prepend: site.baseurl }}" />
|
22
22
|
<link rel="Shortcut Icon" href="{{ site.favicon | prepend: site.baseurl }}">
|
23
23
|
<link rel="icon" href="{{ site.favicon | prepend: site.baseurl }}" type="image/x-icon" />
|
24
24
|
<link rel="bookmark" href="{{ site.favicon | prepend: site.baseurl }}" type="image/x-icon" />
|
25
25
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.min.css" async>
|
26
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-screen-webfont@1.1.0/style.css" />
|
26
27
|
<link rel="stylesheet" href="{{ "/assets/css/plugins.min.css" | prepend: site.baseurl }}">
|
27
|
-
<link rel="preload" href="{{ "/assets/fonts/Merriweather-Regular.ttf" | prepend: site.baseurl }}" as="font" crossorigin="anonymous">
|
28
28
|
{% assign prisms1 = "coy,dark,funky,okaidia,solarizedlight,tomorrow,twilight" | split: "," %}
|
29
29
|
{% 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: "," %}
|
30
30
|
{% if prisms1 contains site.prism.theme %}
|
data/_includes/header.html
CHANGED
@@ -17,11 +17,26 @@
|
|
17
17
|
<nav class="g-nav">
|
18
18
|
<ul>
|
19
19
|
{% for i in site.nav %}
|
20
|
-
|
21
|
-
<
|
22
|
-
{{ i[0] }}
|
23
|
-
|
24
|
-
|
20
|
+
{% if i[1].first %}
|
21
|
+
<li class="dropdown">
|
22
|
+
<a class="dropdown-toggle"> {{ i[0] }} </a>
|
23
|
+
<ul class="dropdown-menu">
|
24
|
+
{% for j in i[1] %}
|
25
|
+
<li>
|
26
|
+
<a href="{{ j[1] | relative_url}}" aria-label="{{ j[0] }}">
|
27
|
+
{{ j[0] }}
|
28
|
+
</a>
|
29
|
+
</li>
|
30
|
+
{% endfor %}
|
31
|
+
</ul>
|
32
|
+
</li>
|
33
|
+
{% else %}
|
34
|
+
<li>
|
35
|
+
<a href="{{ i[1] | relative_url}}" aria-label="{{ i[0] }}">
|
36
|
+
{{ i[0] }}
|
37
|
+
</a>
|
38
|
+
</li>
|
39
|
+
{% endif %}
|
25
40
|
{% endfor %}
|
26
41
|
<li class="mode">
|
27
42
|
<svg class="icon day" aria-hidden="true">
|
data/_includes/post-head.html
CHANGED
@@ -13,6 +13,12 @@
|
|
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
|
+
{% if page.next.url %}
|
17
|
+
<meta property="og:previous_url" content="{{ page.next.url | relative_url }}">
|
18
|
+
{% endif %}
|
19
|
+
{% if page.previous.url %}
|
20
|
+
<meta property="og:next_url" content="{{ page.previous.url | relative_url }}">
|
21
|
+
{% endif %}
|
16
22
|
<meta property="post-date-format" content="{{ site.formats.time }}">
|
17
23
|
{% case site.formats.time %}
|
18
24
|
{% when 0 %}
|
@@ -31,10 +37,9 @@
|
|
31
37
|
<link rel="Shortcut Icon" href="{{ site.favicon | prepend: site.baseurl }}">
|
32
38
|
<link rel="icon" href="{{ site.favicon | prepend: site.baseurl }}" type="image/x-icon" />
|
33
39
|
<link rel="bookmark" href="{{ site.favicon | prepend: site.baseurl }}" type="image/x-icon" />
|
34
|
-
<link rel="stylesheet" href="
|
40
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.min.css" />
|
41
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-screen-webfont@1.1.0/style.css" />
|
35
42
|
<link rel="stylesheet" href="{{ "/assets/css/plugins.min.css" | prepend: site.baseurl }}" />
|
36
|
-
<link rel="preload" href="{{ "/assets/fonts/Merriweather-Regular.ttf" | prepend: site.baseurl }}" as="font" crossorigin="anonymous" />
|
37
|
-
<link rel="stylesheet" href="{{ "/assets/fonts/Merriweather-Regular.ttf" | prepend: site.baseurl }}" media="print" onload="this.media='all'" />
|
38
43
|
{% assign prisms1 = "coy,dark,funky,okaidia,solarizedlight,tomorrow,twilight" | split: "," %}
|
39
44
|
{% 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: "," %}
|
40
45
|
{% if prisms1 contains site.prism.theme %}
|
data/_layouts/archives.html
CHANGED
@@ -10,6 +10,7 @@ cover: https://images.unsplash.com/photo-1465189684280-6a8fa9b19a7a?w=1600&q=900
|
|
10
10
|
{% assign unpin_posts = site.posts | where: "pin", nil | sort: "date" | reverse %}
|
11
11
|
{% assign pin_posts_num = pin_posts | size %}
|
12
12
|
{% assign unpin_posts_num = unpin_posts | size %}
|
13
|
+
{% assign nyear = "1900" %}
|
13
14
|
|
14
15
|
<h2>Archives</h2>
|
15
16
|
|
@@ -37,31 +38,15 @@ cover: https://images.unsplash.com/photo-1465189684280-6a8fa9b19a7a?w=1600&q=900
|
|
37
38
|
</p>
|
38
39
|
</li>
|
39
40
|
{% endfor %}
|
40
|
-
</ul>
|
41
41
|
{% endif %}
|
42
42
|
|
43
43
|
{% if unpin_posts_num > 0%}
|
44
|
-
{% for post in unpin_posts %}
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
{% unless post.next %}
|
49
|
-
<h3 class="year">{{ post.date | date: '%Y' }}
|
50
|
-
<span class="icon-item">
|
51
|
-
<svg class="icon animal" aria-hidden="true">
|
52
|
-
<use xlink:href="#icon-{{ ssyears[animal] }}"></use>
|
53
|
-
</svg>
|
54
|
-
<svg class="icon dz" aria-hidden="true">
|
55
|
-
<use xlink:href="#icon-{{ ssyears[animal]}}_dz"></use>
|
56
|
-
</svg>
|
57
|
-
</span>
|
58
|
-
</h3>
|
59
|
-
<ul>
|
60
|
-
{% else %}
|
61
|
-
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
|
62
|
-
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
|
44
|
+
{% for post in unpin_posts %}
|
45
|
+
{% assign year = post.date | date: '%Y' %}
|
46
|
+
{% assign animal = year | minus:1900 | modulo:12 %}
|
63
47
|
{% if year != nyear %}
|
64
|
-
|
48
|
+
{% assign nyear = year %}
|
49
|
+
</ul>
|
65
50
|
<h3 class="year">{{ post.date | date: '%Y' }}
|
66
51
|
<span class="icon-item">
|
67
52
|
<svg class="icon animal" aria-hidden="true">
|
@@ -74,23 +59,22 @@ cover: https://images.unsplash.com/photo-1465189684280-6a8fa9b19a7a?w=1600&q=900
|
|
74
59
|
</h3>
|
75
60
|
<ul>
|
76
61
|
{% endif %}
|
77
|
-
{% endunless %}
|
78
|
-
|
79
|
-
<li>
|
80
|
-
<p class="archives-title">
|
81
|
-
<span class="archives-date">
|
82
|
-
{% case site.formats.time %}
|
83
|
-
{% when 0 %}
|
84
|
-
{{ post.date | date: "%Y-%m-%d" }}
|
85
|
-
{% when 1 %}
|
86
|
-
{{ post.date | date_to_string }}
|
87
|
-
{% else %}
|
88
|
-
{{ post.date | date: "%Y年%-m月%-d日" }}
|
89
|
-
{% endcase %}
|
90
|
-
</span>
|
91
|
-
<a href="{{ post.url | prepend: site.baseurl }}"> {{ post.title }} </a>
|
92
|
-
</p>
|
93
|
-
</li>
|
94
62
|
|
95
|
-
|
96
|
-
|
63
|
+
<li>
|
64
|
+
<p class="archives-title">
|
65
|
+
<span class="archives-date">
|
66
|
+
{% case site.formats.time %}
|
67
|
+
{% when 0 %}
|
68
|
+
{{ post.date | date: "%Y-%m-%d" }}
|
69
|
+
{% when 1 %}
|
70
|
+
{{ post.date | date_to_string }}
|
71
|
+
{% else %}
|
72
|
+
{{ post.date | date: "%Y年%-m月%-d日" }}
|
73
|
+
{% endcase %}
|
74
|
+
</span>
|
75
|
+
<a href="{{ post.url | prepend: site.baseurl }}"> {{ post.title }} </a>
|
76
|
+
</p>
|
77
|
+
</li>
|
78
|
+
{% endfor %}
|
79
|
+
{% endif %}
|
80
|
+
</ul>
|