jekyll-theme-h2o-ac 1.3.4 → 1.3.6
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/README.md +5 -0
- data/_config.yml +3 -2
- data/_includes/layouts/footer.html +49 -30
- data/_includes/plugins/analytics/busuanzi.html +4 -0
- data/_layouts/post.html +7 -1
- data/_layouts/tags.html +0 -4
- data/assets/css/app.min.css +1 -1
- data/assets/css/app.min.css.map +1 -1
- data/assets/icons/forever_en_default.png +0 -0
- data/assets/icons/travellings.gif +0 -0
- data/assets/icons/wormhole_3.gif +0 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 719aba950fd3580dbbe73c6a48d8f05ad5ee2c348bc1a30cb7450694ef5a0453
|
4
|
+
data.tar.gz: 057c4715b217b97a9e60c88ab3053ce83b8f1709a73bb0255494d527ebb6d665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 253ff297ca2947ac735941c98df92a90f832086182880f7675b9fe39fc88d84462851409ce2cab243c56a239f75e8720e48c45636b7da01097107f207d6eba79
|
7
|
+
data.tar.gz: f240b6b2e2cd218652cbed81cd5616492c40ff150cdf15e4bda217959eac09ad44f289f94a47c5c50d19826e6f31bd0bd6ba637f92d2343d59ddb7c43ce157e3
|
data/README.md
CHANGED
@@ -13,9 +13,14 @@
|
|
13
13
|
|
14
14
|
A Jekyll theme for researchers and maintainers based on Jekyll and [H2O](https://github.com/kaeyleo/jekyll-theme-H2O) theme.
|
15
15
|
|
16
|
+
使用文档:[https://h2o-ac-doc.lisz.me](https://h2o-ac-doc.lisz.me)
|
17
|
+
|
18
|
+
Usage documentation is only available in Chinese now, but English version will be available soon.
|
19
|
+
|
16
20
|
## Preview
|
17
21
|
|
18
22
|
### [在线预览 Live Demo →](https://h2o-ac.pages.dev/)
|
23
|
+
|
19
24
|

|
20
25
|

|
21
26
|
|
data/_config.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# jekyll-theme-h2o-ac
|
2
|
-
version: 1.3.
|
2
|
+
version: 1.3.6
|
3
3
|
|
4
4
|
# Site settings 配置站点
|
5
5
|
title: 'Mr Li'
|
@@ -73,7 +73,7 @@ comments:
|
|
73
73
|
disqus: false
|
74
74
|
disqus_url: 'https://h2o-ac.disqus.com/embed.js'
|
75
75
|
waline: false
|
76
|
-
waline_url: 'https://h2o-ac-waline.
|
76
|
+
waline_url: 'https://h2o-ac-waline.lisz.top/'
|
77
77
|
waline_reaction: false
|
78
78
|
waline_locale:
|
79
79
|
|
@@ -135,6 +135,7 @@ cnzz:
|
|
135
135
|
|
136
136
|
# Busuanzi Analytics
|
137
137
|
busuanzi: true
|
138
|
+
#busuanzi_url: https://busuanzi.lisz.top/js
|
138
139
|
|
139
140
|
# Umami Analytics
|
140
141
|
umami:
|
@@ -6,28 +6,30 @@
|
|
6
6
|
<div class="g-left">
|
7
7
|
<section class="links">
|
8
8
|
{{ footer.driver }}
|
9
|
-
{% if site.version %} (<a href="https://github.com/zhonger/jekyll-theme-H2O-ac/releases/tag/v{{ site.version }}"
|
10
|
-
|
9
|
+
{% if site.version %} (<a href="https://github.com/zhonger/jekyll-theme-H2O-ac/releases/tag/v{{ site.version }}"
|
10
|
+
target="_blank" class="extlinks">v{{ site.version }}</a>){% endif %}
|
11
|
+
{% if site.supports.webify %} & <a href="https://webify.cloudbase.net/" target="_blank"
|
12
|
+
class="extlinks">CloudBase Webify</a> {% endif %}
|
11
13
|
</section>
|
12
14
|
<section class="links">{{ site.title }} ©
|
13
15
|
{% assign current = "now" | date: "%Y" | plus: 0%}
|
14
16
|
{% unless site.footer.since and site.footer.since == current %}
|
15
|
-
|
16
|
-
|
17
|
+
{{ site.footer.since }}
|
18
|
+
-
|
17
19
|
{% endunless %}
|
18
20
|
{{ current }}
|
19
21
|
{% if site.beian and site.beian != "" %}
|
20
|
-
|
22
|
+
<a href="https://beian.miit.gov.cn/" target="_blank" class="extlinks">{{ site.beian }}</a>
|
21
23
|
{% endif %}
|
22
24
|
<a href="/rss.xml" target="_blank" aria-label="Terms of Service" class="others">
|
23
25
|
<svg class="icon" aria-hidden="true">
|
24
26
|
<use xlink:href="#icon-rss"></use>
|
25
|
-
</svg> RSS
|
27
|
+
</svg> RSS
|
26
28
|
</a>
|
27
29
|
<a href="/tos" target="_blank" aria-label="Terms of Service" class="others">
|
28
30
|
<svg class="icon" aria-hidden="true">
|
29
31
|
<use xlink:href="#icon-tos"></use>
|
30
|
-
</svg> {{footer.tos.name}}
|
32
|
+
</svg> {{footer.tos.name}}
|
31
33
|
</a>
|
32
34
|
</section>
|
33
35
|
{% if site.busuanzi %}
|
@@ -35,63 +37,79 @@
|
|
35
37
|
<span id="busuanzi_container_site_pv">
|
36
38
|
<svg class="icon" aria-hidden="true">
|
37
39
|
<use xlink:href="#icon-pv"></use>
|
38
|
-
</svg> {{ footer.views }}
|
40
|
+
</svg> {{ footer.views }}
|
41
|
+
{% if site.busuanzi_url %}
|
42
|
+
<span id="busuanzi_site_pv">
|
43
|
+
{% else %}
|
44
|
+
<span id="busuanzi_value_site_pv"></span>
|
45
|
+
{% endif %}
|
46
|
+
<b>·</b>
|
47
|
+
</span>
|
39
48
|
</span>
|
40
49
|
<span id="busuanzi_container_site_uv">
|
41
50
|
<svg class="icon" aria-hidden="true">
|
42
51
|
<use xlink:href="#icon-user"></use>
|
43
|
-
</svg> {{ footer.visitors }}
|
52
|
+
</svg> {{ footer.visitors }}
|
53
|
+
{% if site.busuanzi_url %}
|
54
|
+
<span id="busuanzi_site_uv"></span>
|
55
|
+
{% else %}
|
56
|
+
<span id="busuanzi_value_site_uv"></span>
|
57
|
+
{% endif %}
|
44
58
|
</span>
|
45
59
|
</section>
|
46
60
|
{% endif %}
|
47
61
|
<section>
|
48
62
|
{% if site.alivetime %}
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
63
|
+
{{ footer.running.info }}
|
64
|
+
<span class="alivetime_days"></span> {{ footer.running.day }}
|
65
|
+
<span class="alivetime_hours"></span> {{ footer.running.hour }}
|
66
|
+
<span class="alivetime_minutes"></span> {{ footer.running.minute }}
|
67
|
+
<span class="alivetime_seconds"></span> {{ footer.running.second }}
|
54
68
|
{% endif %}
|
55
69
|
</section>
|
56
70
|
</div>
|
57
71
|
<div class="g-right">
|
58
72
|
{% if site.supports.upyun %}
|
59
73
|
<section>
|
60
|
-
<a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank" class="extlinks">{{
|
74
|
+
<a href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" target="_blank" class="extlinks">{{
|
75
|
+
footer.upyun }} <img src="{{ " /assets/icons/upyun.png" | prepend: site.baseurl }}" class="upyun" alt="upyun" /></a>
|
61
76
|
</section>
|
62
77
|
{% endif %}
|
63
78
|
{% if site.badges.foreverblog or site.badges.wormhole or site.badges.travelling or site.badges.notbyAI %}
|
64
79
|
<section class="badges">
|
65
80
|
{% if site.badges.foreverblog %}
|
66
|
-
|
67
|
-
|
68
|
-
|
81
|
+
<a href="https://www.foreverblog.cn/" target="_blank" class="foreverblog" aria-label="foreverblog">
|
82
|
+
<img src="{{ " /assets/icons/forever_en_default.png" | prepend: site.baseurl }}" alt="foreverblog">
|
83
|
+
</a>
|
69
84
|
{% endif %}
|
70
85
|
{% if site.badges.wormhole %}
|
71
|
-
|
72
|
-
|
73
|
-
|
86
|
+
<a href="https://www.foreverblog.cn/go.html" target="_blank" class="wormhole" aria-label="wormhole">
|
87
|
+
<img src="{{ " /assets/icons/wormhole_3.gif" | prepend: site.baseurl }}" alt="" title="穿梭虫洞-随机访问十年之约友链博客">
|
88
|
+
</a>
|
74
89
|
{% endif%}
|
75
90
|
{% if site.badges.travelling %}
|
76
|
-
|
77
|
-
|
78
|
-
|
91
|
+
<a href="https://www.travellings.cn/go.html" target="_blank" class="travelling-badge" aria-label="Travelling"
|
92
|
+
rel="noopener" title="开往-友链接力">
|
93
|
+
<img src="{{ " /assets/icons/travellings.gif" | prepend: site.baseurl }}" alt="开往-友链接力">
|
94
|
+
</a>
|
79
95
|
{% endif %}
|
80
96
|
{% if site.badges.notbyAI %}
|
81
|
-
|
82
|
-
|
83
|
-
|
97
|
+
<a href="https://notbyai.fyi/" target="_blank" class="notbyAI" aria-label="notbyAI">
|
98
|
+
<img src="{{ " /assets/icons/notbyAI-white.png" | prepend: site.baseurl }}" alt="Written by Human, Not by AI">
|
99
|
+
</a>
|
84
100
|
{% endif %}
|
85
101
|
</section>
|
86
102
|
{% endif %}
|
87
103
|
</div>
|
88
104
|
{% if site.cnzz %}
|
89
|
-
<script
|
105
|
+
<script
|
106
|
+
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>
|
90
107
|
{% endif %}
|
91
108
|
</div>
|
92
109
|
</footer>
|
93
110
|
<div class="cookie-tip">
|
94
|
-
{{ cookie.cookieconsent_status }} {{ footer.tos.left }}「 <a href="{{ site.tos | prepend: site.baseurl }}">{{
|
111
|
+
{{ cookie.cookieconsent_status }} {{ footer.tos.left }}「 <a href="{{ site.tos | prepend: site.baseurl }}">{{
|
112
|
+
footer.tos.middle }}</a> 」{{ footer.tos.right }}
|
95
113
|
|
96
114
|
<button id="accept-tos">{{ footer.tos.btn }}</button>
|
97
115
|
</div>
|
@@ -107,7 +125,8 @@
|
|
107
125
|
</svg>
|
108
126
|
</div>
|
109
127
|
{% endif %}
|
110
|
-
{% if page.content contains 'h1' or page.content contains 'h2' or page.content contains 'h3' or page.content contains
|
128
|
+
{% if page.content contains 'h1' or page.content contains 'h2' or page.content contains 'h3' or page.content contains
|
129
|
+
'h4' or page.content contains 'h5' or page.content contains 'h6' and site.toc %}
|
111
130
|
<div class="tool toc">
|
112
131
|
<svg class="icon b1 active" aria-hidden="true">
|
113
132
|
<use xlink:href="#icon-toc"></use>
|
data/_layouts/post.html
CHANGED
@@ -55,7 +55,13 @@ type: post
|
|
55
55
|
<svg class="icon pv" aria-hidden="true">
|
56
56
|
<use xlink:href="#icon-pv"></use>
|
57
57
|
</svg>
|
58
|
-
{{ post.cover.view.info }}
|
58
|
+
{{ post.cover.view.info }}
|
59
|
+
{% if site.busuanzi_url %}
|
60
|
+
<span id="busuanzi_page_pv"></span>
|
61
|
+
{% else %}
|
62
|
+
<span id="busuanzi_value_page_pv"></span>
|
63
|
+
{% endif %}
|
64
|
+
{{ post.cover.view.unit }}
|
59
65
|
</span>
|
60
66
|
{% endif %}
|
61
67
|
{% if page.cover_author %}
|
data/_layouts/tags.html
CHANGED
@@ -3,8 +3,6 @@ title: Tags
|
|
3
3
|
layout: default
|
4
4
|
---
|
5
5
|
|
6
|
-
{% include layouts/header.html %}
|
7
|
-
|
8
6
|
<div class="g-banner tags-banner {{ site.postPatterns | prepend: 'post-pattern-' }}" data-theme="{{ site.theme-color }}">
|
9
7
|
<h2>TAGS</h2>
|
10
8
|
</div>
|
@@ -46,5 +44,3 @@ layout: default
|
|
46
44
|
|
47
45
|
</ul>
|
48
46
|
</main>
|
49
|
-
|
50
|
-
{% include layouts/footer.html %}
|