jekyll-theme-chirpy 4.3.4 → 5.1.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/README.md +20 -162
- data/_config.yml +44 -18
- data/_data/assets/cross_origin.yml +62 -0
- data/_data/assets/self_host.yml +51 -0
- data/_data/locales/en.yml +3 -15
- data/_data/locales/id-ID.yml +2 -14
- data/_data/locales/ko-KR.yml +78 -0
- data/_data/locales/my-MM.yml +78 -0
- data/_data/locales/ru-RU.yml +78 -0
- data/_data/locales/uk-UA.yml +78 -0
- data/_data/locales/zh-CN.yml +2 -14
- data/_data/share.yml +1 -1
- data/_includes/assets-origin.html +12 -0
- data/_includes/{disqus.html → comments/disqus.html} +4 -4
- data/_includes/comments/giscus.html +56 -0
- data/_includes/comments/utterances.html +51 -0
- data/_includes/comments.html +5 -0
- data/_includes/footer.html +1 -1
- data/_includes/head.html +35 -20
- data/_includes/js-selector.html +43 -11
- data/_includes/jsdelivr-combine.html +32 -0
- data/_includes/mermaid.html +31 -3
- data/_includes/mode-toggle.html +49 -65
- data/_includes/post-sharing.html +2 -2
- data/_includes/read-time.html +3 -3
- data/_includes/refactor-content.html +160 -36
- data/_includes/related-posts.html +1 -1
- data/_includes/search-loader.html +1 -1
- data/_includes/search-results.html +0 -8
- data/_includes/sidebar.html +16 -17
- data/_includes/timeago.html +11 -23
- data/_includes/toc.html +16 -0
- data/_includes/topbar.html +2 -3
- data/_includes/trending-tags.html +14 -0
- data/_includes/update-list.html +16 -0
- data/_layouts/archives.html +5 -7
- data/_layouts/category.html +3 -5
- data/_layouts/default.html +10 -4
- data/_layouts/home.html +14 -11
- data/_layouts/page.html +47 -22
- data/_layouts/post.html +128 -127
- data/_layouts/tag.html +3 -5
- data/_sass/addon/commons.scss +276 -290
- data/_sass/addon/module.scss +67 -31
- data/_sass/addon/syntax.scss +90 -66
- data/_sass/addon/variables.scss +7 -7
- data/_sass/colors/dark-syntax.scss +4 -4
- data/_sass/colors/dark-typography.scss +21 -9
- data/_sass/colors/light-syntax.scss +9 -4
- data/_sass/colors/light-typography.scss +18 -6
- data/_sass/jekyll-theme-chirpy.scss +1 -1
- data/_sass/layout/home.scss +6 -2
- data/_sass/layout/post.scss +52 -46
- data/_tabs/about.md +2 -2
- data/assets/404.html +0 -2
- data/assets/js/data/search.json +1 -0
- data/assets/js/data/swcache.js +11 -20
- data/assets/js/dist/categories.min.js +2 -2
- data/assets/js/dist/commons.min.js +2 -2
- data/assets/js/dist/home.min.js +2 -2
- data/assets/js/dist/misc.min.js +6 -0
- data/assets/js/dist/page.min.js +2 -2
- data/assets/js/dist/post.min.js +2 -2
- data/assets/js/dist/pvreport.min.js +2 -2
- metadata +16 -6
- data/_includes/css-selector.html +0 -15
- data/_includes/no-zero-date.html +0 -13
- data/_includes/panel.html +0 -59
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-chirpy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cotes Chung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -104,25 +104,33 @@ files:
|
|
104
104
|
- LICENSE
|
105
105
|
- README.md
|
106
106
|
- _config.yml
|
107
|
+
- _data/assets/cross_origin.yml
|
108
|
+
- _data/assets/self_host.yml
|
107
109
|
- _data/contact.yml
|
108
110
|
- _data/locales/en.yml
|
109
111
|
- _data/locales/id-ID.yml
|
112
|
+
- _data/locales/ko-KR.yml
|
113
|
+
- _data/locales/my-MM.yml
|
114
|
+
- _data/locales/ru-RU.yml
|
115
|
+
- _data/locales/uk-UA.yml
|
110
116
|
- _data/locales/zh-CN.yml
|
111
117
|
- _data/share.yml
|
112
|
-
- _includes/
|
113
|
-
- _includes/
|
118
|
+
- _includes/assets-origin.html
|
119
|
+
- _includes/comments.html
|
120
|
+
- _includes/comments/disqus.html
|
121
|
+
- _includes/comments/giscus.html
|
122
|
+
- _includes/comments/utterances.html
|
114
123
|
- _includes/favicons.html
|
115
124
|
- _includes/footer.html
|
116
125
|
- _includes/google-analytics.html
|
117
126
|
- _includes/head.html
|
118
127
|
- _includes/js-selector.html
|
128
|
+
- _includes/jsdelivr-combine.html
|
119
129
|
- _includes/lang.html
|
120
130
|
- _includes/language-alias.html
|
121
131
|
- _includes/mermaid.html
|
122
132
|
- _includes/mode-toggle.html
|
123
133
|
- _includes/no-linenos.html
|
124
|
-
- _includes/no-zero-date.html
|
125
|
-
- _includes/panel.html
|
126
134
|
- _includes/post-nav.html
|
127
135
|
- _includes/post-paginator.html
|
128
136
|
- _includes/post-sharing.html
|
@@ -133,6 +141,7 @@ files:
|
|
133
141
|
- _includes/search-results.html
|
134
142
|
- _includes/sidebar.html
|
135
143
|
- _includes/timeago.html
|
144
|
+
- _includes/toc.html
|
136
145
|
- _includes/topbar.html
|
137
146
|
- _includes/trending-tags.html
|
138
147
|
- _includes/update-list.html
|
@@ -184,6 +193,7 @@ files:
|
|
184
193
|
- assets/js/dist/categories.min.js
|
185
194
|
- assets/js/dist/commons.min.js
|
186
195
|
- assets/js/dist/home.min.js
|
196
|
+
- assets/js/dist/misc.min.js
|
187
197
|
- assets/js/dist/page.min.js
|
188
198
|
- assets/js/dist/post.min.js
|
189
199
|
- assets/js/dist/pvreport.min.js
|
data/_includes/css-selector.html
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
CSS selector for site.
|
3
|
-
-->
|
4
|
-
|
5
|
-
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
6
|
-
|
7
|
-
{% if site.toc and page.toc %}
|
8
|
-
<link rel="stylesheet"
|
9
|
-
href="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.css">
|
10
|
-
{% endif %}
|
11
|
-
|
12
|
-
{% if page.layout == 'page' or page.layout == 'post' %}
|
13
|
-
<!-- Manific Popup -->
|
14
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/magnific-popup@1.1.0/dist/magnific-popup.min.css">
|
15
|
-
{% endif %}
|
data/_includes/no-zero-date.html
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
{% comment %}
|
2
|
-
Remove the zero padding from a month/day string
|
3
|
-
{% endcomment %}
|
4
|
-
|
5
|
-
{% assign ret = include.date_str %}
|
6
|
-
{% assign _first_chat = ret | slice: 0 %}
|
7
|
-
|
8
|
-
{% if _first_chat == '0' %}
|
9
|
-
{% assign _last_idx = ret.size | minus: 1 %}
|
10
|
-
{% assign ret = ret | slice: 1, _last_idx %}
|
11
|
-
{% endif %}
|
12
|
-
|
13
|
-
{{ ret | replace: ' 0', ' ' }}
|
data/_includes/panel.html
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
The Pannel on right side (Desktop views)
|
3
|
-
-->
|
4
|
-
|
5
|
-
{% include lang.html %}
|
6
|
-
|
7
|
-
<div id="panel-wrapper" class="col-xl-3 pl-2 text-muted topbar-down">
|
8
|
-
|
9
|
-
<div class="access">
|
10
|
-
|
11
|
-
{% include update-list.html %}
|
12
|
-
|
13
|
-
{% if update_list.size > 0 %}
|
14
|
-
|
15
|
-
<div id="access-lastmod" class="post">
|
16
|
-
<span>{{- site.data.locales[lang].panel.lastmod -}}</span>
|
17
|
-
<ul class="post-content pl-0 pb-1 ml-1 mt-2">
|
18
|
-
|
19
|
-
{% for item in update_list %}
|
20
|
-
{% assign index = item | split: "::" | last | plus: 0 %}
|
21
|
-
{% assign post = site.posts[index] %}
|
22
|
-
{% assign url = post.url | relative_url %}
|
23
|
-
<li><a href="{{ url }}">{{ post.title }}</a></li>
|
24
|
-
{% endfor %}
|
25
|
-
|
26
|
-
</ul>
|
27
|
-
</div> <!-- #access-lastmod -->
|
28
|
-
|
29
|
-
{% endif %}
|
30
|
-
|
31
|
-
{% include trending-tags.html %}
|
32
|
-
|
33
|
-
{% if trending_tags.size > 0 %}
|
34
|
-
<div id="access-tags">
|
35
|
-
<span>{{- site.data.locales[lang].panel.trending_tags -}}</span>
|
36
|
-
<div class="d-flex flex-wrap mt-3 mb-1 mr-3">
|
37
|
-
|
38
|
-
{% for tag_name in trending_tags %}
|
39
|
-
{% assign url = tag_name | slugify | url_encode | prepend: "/tags/" | append: "/" %}
|
40
|
-
<a class="post-tag" href="{{ url | relative_url }}">{{ tag_name }}</a>
|
41
|
-
{% endfor %}
|
42
|
-
|
43
|
-
</div>
|
44
|
-
</div>
|
45
|
-
{% endif %}
|
46
|
-
</div> <!-- .access -->
|
47
|
-
|
48
|
-
{% if include.toc %}
|
49
|
-
<!-- BS-toc.js will be loaded at medium priority -->
|
50
|
-
<script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@1.0.1/dist/bootstrap-toc.min.js"></script>
|
51
|
-
<div id="toc-wrapper" class="pl-0 pr-4 mb-5">
|
52
|
-
<span class="pl-3 pt-2 mb-2">
|
53
|
-
{{- site.data.locales[lang].panel.toc -}}
|
54
|
-
</span>
|
55
|
-
<nav id="toc" data-toggle="toc"></nav>
|
56
|
-
</div>
|
57
|
-
{% endif %}
|
58
|
-
|
59
|
-
</div> <!-- #panel-wrapper -->
|