jekyll-theme-chirpy 5.2.1 → 5.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/_data/assets/cross_origin.yml +2 -2
- data/_data/assets/self_host.yml +1 -1
- data/_data/locales/bg-BG.yml +83 -0
- data/_data/locales/de-DE.yml +82 -0
- data/_data/locales/en.yml +10 -0
- data/_data/locales/hu-HU.yml +81 -0
- data/_data/locales/ko-KR.yml +7 -0
- data/_data/locales/pt-BR.yml +1 -1
- data/_data/locales/tr-TR.yml +79 -0
- data/_data/locales/zh-CN.yml +8 -1
- data/_includes/comments/giscus.html +1 -1
- data/_includes/datetime.html +2 -8
- data/_includes/footer.html +26 -26
- data/_includes/head.html +0 -5
- data/_includes/js-selector.html +1 -5
- data/_includes/post-nav.html +4 -4
- data/_includes/post-paginator.html +1 -1
- data/_includes/post-sharing.html +3 -3
- data/_includes/read-time.html +3 -3
- data/_includes/refactor-content.html +10 -6
- data/_includes/related-posts.html +3 -3
- data/_includes/search-loader.html +1 -1
- data/_includes/sidebar.html +3 -3
- data/_includes/toc.html +1 -1
- data/_includes/topbar.html +9 -9
- data/_includes/trending-tags.html +1 -1
- data/_includes/update-list.html +1 -1
- data/_layouts/archives.html +23 -37
- data/_layouts/categories.html +12 -14
- data/_layouts/category.html +0 -2
- data/_layouts/default.html +6 -9
- data/_layouts/home.html +1 -3
- data/_layouts/page.html +6 -7
- data/_layouts/post.html +22 -24
- data/_layouts/tag.html +0 -2
- data/_sass/addon/commons.scss +131 -136
- data/_sass/addon/module.scss +5 -2
- data/_sass/addon/syntax.scss +15 -20
- data/_sass/addon/variables.scss +0 -4
- data/_sass/colors/dark-syntax.scss +17 -18
- data/_sass/colors/dark-typography.scss +22 -22
- data/_sass/colors/light-syntax.scss +2 -3
- data/_sass/colors/light-typography.scss +13 -14
- data/_sass/jekyll-theme-chirpy.scss +1 -1
- data/_sass/layout/archives.scss +76 -87
- data/_sass/layout/categories.scss +12 -13
- data/_sass/layout/category-tag.scss +4 -4
- data/_sass/layout/home.scss +20 -26
- data/_sass/layout/post.scss +132 -132
- data/_sass/layout/tags.scss +1 -1
- data/assets/404.html +1 -3
- data/assets/js/data/search.json +1 -1
- data/assets/js/data/swcache.js +35 -36
- 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 +2 -2
- 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
- data/assets/js/pwa/app.js +33 -33
- data/assets/js/pwa/sw.js +54 -53
- data/assets/js/pwa/unregister.js +5 -5
- metadata +6 -10
- data/_config.yml +0 -201
- data/_includes/lang.html +0 -8
- data/_plugins/posts-lastmod-hook.rb +0 -14
- data/_tabs/about.md +0 -8
- data/_tabs/archives.md +0 -7
- data/_tabs/categories.md +0 -6
- data/_tabs/tags.md +0 -6
- data/index.html +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b023f9506aae8e5758f9d480b050d92dc3f76cc2ceae100ce9948a7963be570
|
4
|
+
data.tar.gz: a4b4a537ba866113373345e51f41bf25f354ef2371369a27106cd0646e5659e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59f560436842f5b48e31cfe03afe8ee0f51a0b82d02971a164e90db532816b9d97e2a311bf2465b621eb52485c4d18f1e6191f914840f81eaa57653af648db2f
|
7
|
+
data.tar.gz: 22e628d12a0a17d1bccdd9b8014dbecf100dc19ee2ae2f5096806f3d1cd72534ffd2bd6bdd2340eed054bdb8af3b28f3a74396c190d69883870a60a42ea4e268
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
A minimal, responsive, and powerful Jekyll theme for presenting professional writing.
|
6
6
|
|
7
7
|
[![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy?color=brightgreen)](https://rubygems.org/gems/jekyll-theme-chirpy)
|
8
|
-
[![
|
8
|
+
[![CI](https://github.com/cotes2020/jekyll-theme-chirpy/actions/workflows/ci.yml/badge.svg)](https://github.com/cotes2020/jekyll-theme-chirpy/actions/workflows/ci.yml)
|
9
9
|
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4e556876a3c54d5e8f2d2857c4f43894)](https://www.codacy.com/gh/cotes2020/jekyll-theme-chirpy/dashboard?utm_source=github.com&utm_medium=referral&utm_content=cotes2020/jekyll-theme-chirpy&utm_campaign=Badge_Grade)
|
10
10
|
[![GitHub license](https://img.shields.io/github/license/cotes2020/jekyll-theme-chirpy.svg)](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/LICENSE)
|
11
11
|
[![996.icu](https://img.shields.io/badge/link-996.icu-%23FF4D5B.svg)](https://996.icu)
|
@@ -73,7 +73,7 @@ After a while, navigate to the site at <http://localhost:4000>.
|
|
73
73
|
|
74
74
|
## Documentation
|
75
75
|
|
76
|
-
For more details on usage, please refer to the tutorial on the [demo website](https://cotes2020.github.io/chirpy-demo/) / [wiki](https://github.com/cotes2020/jekyll-theme-chirpy/wiki). Note that the tutorial is based on the [latest
|
76
|
+
For more details on usage, please refer to the tutorial on the [demo website](https://cotes2020.github.io/chirpy-demo/) / [wiki](https://github.com/cotes2020/jekyll-theme-chirpy/wiki). Note that the tutorial is based on the [latest release](https://github.com/cotes2020/jekyll-theme-chirpy/releases/latest), and the features of the default branch are usually ahead of the documentation.
|
77
77
|
|
78
78
|
## Contributing
|
79
79
|
|
@@ -102,4 +102,4 @@ This work is published under [MIT](https://github.com/cotes2020/jekyll-theme-chi
|
|
102
102
|
<!-- ReadMe links -->
|
103
103
|
|
104
104
|
[jb]: https://www.jetbrains.com/?from=jekyll-theme-chirpy
|
105
|
-
[cn-donation]: https://
|
105
|
+
[cn-donation]: https://cotes2020.github.io/sponsor/
|
@@ -33,7 +33,7 @@ search:
|
|
33
33
|
js: https://cdn.jsdelivr.net/npm/simple-jekyll-search@1.10.0/dest/simple-jekyll-search.min.js
|
34
34
|
|
35
35
|
mermaid:
|
36
|
-
js: https://cdn.jsdelivr.net/npm/mermaid@
|
36
|
+
js: https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.min.js
|
37
37
|
|
38
38
|
dayjs:
|
39
39
|
js:
|
@@ -53,7 +53,7 @@ lozad:
|
|
53
53
|
js: https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js
|
54
54
|
|
55
55
|
clipboard:
|
56
|
-
js:
|
56
|
+
js: https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js
|
57
57
|
|
58
58
|
polyfill:
|
59
59
|
js: https://polyfill.io/v3/polyfill.min.js?features=es6
|
data/_data/assets/self_host.yml
CHANGED
@@ -0,0 +1,83 @@
|
|
1
|
+
# The layout text of site
|
2
|
+
|
3
|
+
# ----- Commons label -----
|
4
|
+
|
5
|
+
layout:
|
6
|
+
post: Публикация
|
7
|
+
category: Категория
|
8
|
+
tag: Тагове
|
9
|
+
|
10
|
+
# The tabs of sidebar
|
11
|
+
tabs:
|
12
|
+
# format: <filename_without_extension>: <value>
|
13
|
+
home: Начало
|
14
|
+
categories: Категории
|
15
|
+
tags: Тагове
|
16
|
+
archives: Архив
|
17
|
+
about: За мен
|
18
|
+
|
19
|
+
# the text displayed in the search bar & search results
|
20
|
+
search:
|
21
|
+
hint: търси
|
22
|
+
cancel: Отмени
|
23
|
+
no_results: Упс! Не са намерени резултати.
|
24
|
+
|
25
|
+
panel:
|
26
|
+
lastmod: Наскоро обновени
|
27
|
+
trending_tags: Популярни тагове
|
28
|
+
toc: Съдържание
|
29
|
+
|
30
|
+
copyright:
|
31
|
+
# Shown at the bottom of the post
|
32
|
+
license:
|
33
|
+
template: Тази публикация е лицензирана под :LICENSE_NAME от автора.
|
34
|
+
name: CC BY 4.0
|
35
|
+
link: https://creativecommons.org/licenses/by/4.0/
|
36
|
+
|
37
|
+
# Displayed in the footer
|
38
|
+
brief: Някои права запазени.
|
39
|
+
verbose: >-
|
40
|
+
Освен ако не е посочено друго, публикациите в блога на този сайт са лицензирани
|
41
|
+
под лиценза Creative Commons Attribution 4.0 (CC BY 4.0) от автора.
|
42
|
+
|
43
|
+
meta: Създадено чрез :PLATFORM и :THEME тема.
|
44
|
+
|
45
|
+
not_found:
|
46
|
+
statment: Съжалявам, но този на този URL адрес няма налично съдържание.
|
47
|
+
|
48
|
+
notification:
|
49
|
+
update_found: Налична е нова версия на съдържанието.
|
50
|
+
update: Обнови
|
51
|
+
|
52
|
+
# ----- Posts related labels -----
|
53
|
+
|
54
|
+
post:
|
55
|
+
written_by: Автор
|
56
|
+
posted: Публикувана
|
57
|
+
updated: Обновена
|
58
|
+
words: думи
|
59
|
+
pageview_measure: преглеждания
|
60
|
+
read_time:
|
61
|
+
unit: мин
|
62
|
+
prompt: четиво
|
63
|
+
relate_posts: Още за четене
|
64
|
+
share: Споделете
|
65
|
+
button:
|
66
|
+
next: По-нови
|
67
|
+
previous: По-стари
|
68
|
+
copy_code:
|
69
|
+
succeed: Копирано!
|
70
|
+
share_link:
|
71
|
+
title: Копирай линк
|
72
|
+
succeed: Линкът е копиран успешно!
|
73
|
+
# pinned prompt of posts list on homepage
|
74
|
+
pin_prompt: Прикрепен
|
75
|
+
|
76
|
+
# categories page
|
77
|
+
categories:
|
78
|
+
category_measure:
|
79
|
+
singular: категория
|
80
|
+
plural: категории
|
81
|
+
post_measure:
|
82
|
+
singular: публикация
|
83
|
+
plural: публикации
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# The layout text of site
|
2
|
+
|
3
|
+
# ----- Commons label -----
|
4
|
+
|
5
|
+
layout:
|
6
|
+
post: Eintrag
|
7
|
+
category: Kategorie
|
8
|
+
tag: Tag
|
9
|
+
|
10
|
+
# The tabs of sidebar
|
11
|
+
tabs:
|
12
|
+
# format: <filename_without_extension>: <value>
|
13
|
+
home: Startseite
|
14
|
+
categories: Kategorien
|
15
|
+
tags: Tags
|
16
|
+
archives: Archiv
|
17
|
+
about: Über
|
18
|
+
|
19
|
+
# the text displayed in the search bar & search results
|
20
|
+
search:
|
21
|
+
hint: Suche
|
22
|
+
cancel: Abbrechen
|
23
|
+
no_results: Ups! Keine Einträge gefunden.
|
24
|
+
|
25
|
+
panel:
|
26
|
+
lastmod: Kürzlich aktualisiert
|
27
|
+
trending_tags: Beliebte Tags
|
28
|
+
toc: Inhalt
|
29
|
+
|
30
|
+
copyright:
|
31
|
+
# Shown at the bottom of the post
|
32
|
+
license:
|
33
|
+
template: Dieser Eintrag ist vom Autor unter :LICENSE_NAME lizensiert.
|
34
|
+
name: CC BY 4.0
|
35
|
+
link: https://creativecommons.org/licenses/by/4.0/
|
36
|
+
|
37
|
+
# Displayed in the footer
|
38
|
+
brief: Einige Rechte vorbehalten.
|
39
|
+
verbose: >-
|
40
|
+
Alle Einträge auf dieser Seite stehen, soweit nicht anders angegeben, unter der Lizenz Creative Commons Attribution 4.0 (CC BY 4.0).
|
41
|
+
|
42
|
+
meta: Powered by :PLATFORM with :THEME theme.
|
43
|
+
|
44
|
+
not_found:
|
45
|
+
statment: Entschuldigung, dieser Link verweist auf keine vorhandene Ressource.
|
46
|
+
|
47
|
+
notification:
|
48
|
+
update_found: Eine neue Version ist verfügbar.
|
49
|
+
update: Neue Version
|
50
|
+
|
51
|
+
# ----- Posts related labels -----
|
52
|
+
|
53
|
+
post:
|
54
|
+
written_by: Von
|
55
|
+
posted: Veröffentlicht
|
56
|
+
updated: Aktualisiert
|
57
|
+
words: Wörter
|
58
|
+
pageview_measure: Aufrufe
|
59
|
+
read_time:
|
60
|
+
unit: Minuten
|
61
|
+
prompt: lesen
|
62
|
+
relate_posts: Weiterlesen
|
63
|
+
share: Teilen
|
64
|
+
button:
|
65
|
+
next: Nächster Eintrag
|
66
|
+
previous: Eintrag vorher
|
67
|
+
copy_code:
|
68
|
+
succeed: Kopiert!
|
69
|
+
share_link:
|
70
|
+
title: Link kopieren
|
71
|
+
succeed: Link erfolgreich kopiert!
|
72
|
+
# pinned prompt of posts list on homepage
|
73
|
+
pin_prompt: Angepinnt
|
74
|
+
|
75
|
+
# categories page
|
76
|
+
categories:
|
77
|
+
category_measure:
|
78
|
+
singular: Kategorie
|
79
|
+
plural: Kategorien
|
80
|
+
post_measure:
|
81
|
+
singular: Eintrag
|
82
|
+
plural: Einträge
|
data/_data/locales/en.yml
CHANGED
@@ -73,6 +73,16 @@ post:
|
|
73
73
|
# pinned prompt of posts list on homepage
|
74
74
|
pin_prompt: Pinned
|
75
75
|
|
76
|
+
# Date time format.
|
77
|
+
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
78
|
+
df:
|
79
|
+
post:
|
80
|
+
strftime: '%b %e, %Y'
|
81
|
+
dayjs: 'll'
|
82
|
+
archives:
|
83
|
+
strftime: '%b'
|
84
|
+
dayjs: 'MMM'
|
85
|
+
|
76
86
|
# categories page
|
77
87
|
categories:
|
78
88
|
category_measure:
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# The layout text of site
|
2
|
+
|
3
|
+
# ----- Commons label -----
|
4
|
+
|
5
|
+
layout:
|
6
|
+
post: Bejegyzés
|
7
|
+
category: Kategória
|
8
|
+
tag: Címke
|
9
|
+
|
10
|
+
# The tabs of sidebar
|
11
|
+
tabs:
|
12
|
+
# format: <filename_without_extension>: <value>
|
13
|
+
home: Kezdőlap
|
14
|
+
categories: Kategóriák
|
15
|
+
tags: Címkék
|
16
|
+
archives: Archívum
|
17
|
+
about: Rólam
|
18
|
+
|
19
|
+
# the text displayed in the search bar & search results
|
20
|
+
search:
|
21
|
+
hint: keresés
|
22
|
+
cancel: Mégse
|
23
|
+
no_results: Oops! Nincs találat a keresésre.
|
24
|
+
|
25
|
+
panel:
|
26
|
+
lastmod: Legutóbb frissítve
|
27
|
+
trending_tags: Népszerű Címkék
|
28
|
+
toc: Tartalom
|
29
|
+
links: Blog linkek
|
30
|
+
|
31
|
+
copyright:
|
32
|
+
# Shown at the bottom of the post
|
33
|
+
license:
|
34
|
+
template: A bejegyzés :LICENSE_NAME licenccel rendelkezik.
|
35
|
+
name: CC BY 4.0
|
36
|
+
link: https://creativecommons.org/licenses/by/4.0/
|
37
|
+
|
38
|
+
# Displayed in the footer
|
39
|
+
brief: Néhány jog fenntartva.
|
40
|
+
verbose: >-
|
41
|
+
Az oldalon található tartalmak
|
42
|
+
Creative Commons Attribution 4.0 International (CC BY 4.0) licenccel rendelkeznek,
|
43
|
+
hacsak másképp nincs jelezve.
|
44
|
+
|
45
|
+
meta: Készítve :PLATFORM motorral :THEME témával.
|
46
|
+
|
47
|
+
not_found:
|
48
|
+
statment: Sajnáljuk, az URL-t rosszul helyeztük el, vagy valami nem létezőre mutat.
|
49
|
+
|
50
|
+
notification:
|
51
|
+
update_found: Elérhető a tartalom új verziója.
|
52
|
+
update: Frissítés
|
53
|
+
|
54
|
+
# ----- Posts related labels -----
|
55
|
+
|
56
|
+
post:
|
57
|
+
written_by: Szerző
|
58
|
+
posted: Létrehozva
|
59
|
+
updated: Frissítve
|
60
|
+
words: szó
|
61
|
+
pageview_measure: látogató
|
62
|
+
read_time:
|
63
|
+
unit: perc
|
64
|
+
prompt: elolvasni
|
65
|
+
relate_posts: További olvasnivaló
|
66
|
+
share: Megosztás
|
67
|
+
button:
|
68
|
+
next: Újabb
|
69
|
+
previous: Régebbi
|
70
|
+
copy_code:
|
71
|
+
succeed: Másolva!
|
72
|
+
share_link:
|
73
|
+
title: Link másolása
|
74
|
+
succeed: Link sikeresen másolva!
|
75
|
+
# pinned prompt of posts list on homepage
|
76
|
+
pin_prompt: Kitűzve
|
77
|
+
|
78
|
+
# categories page
|
79
|
+
categories:
|
80
|
+
category_measure: kategória
|
81
|
+
post_measure: bejegyzés
|
data/_data/locales/ko-KR.yml
CHANGED
@@ -73,6 +73,13 @@ post:
|
|
73
73
|
# pinned prompt of posts list on homepage
|
74
74
|
pin_prompt: 핀
|
75
75
|
|
76
|
+
# Date time format.
|
77
|
+
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
78
|
+
df:
|
79
|
+
post:
|
80
|
+
strftime: '%Y/%m/%d'
|
81
|
+
dayjs: 'YYYY/MM/DD'
|
82
|
+
|
76
83
|
# categories page
|
77
84
|
categories:
|
78
85
|
category_measure: 카테고리
|
data/_data/locales/pt-BR.yml
CHANGED
@@ -37,7 +37,7 @@ copyright:
|
|
37
37
|
# Displayed in the footer
|
38
38
|
brief: Alguns direitos reservados.
|
39
39
|
verbose: >-
|
40
|
-
Exceto onde indicado de outra forma, as postagens do blog neste site são licenciadas sob a
|
40
|
+
Exceto onde indicado de outra forma, as postagens do blog neste site são licenciadas sob a
|
41
41
|
Creative Commons Attribution 4.0 International (CC BY 4.0) License pelo autor.
|
42
42
|
|
43
43
|
meta: Feito com :PLATFORM usando o tema :THEME.
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# The layout text of site
|
2
|
+
|
3
|
+
# ----- Commons label -----
|
4
|
+
|
5
|
+
layout:
|
6
|
+
post: Gönderi
|
7
|
+
category: Kategori
|
8
|
+
tag: Etiket
|
9
|
+
|
10
|
+
# The tabs of sidebar
|
11
|
+
tabs:
|
12
|
+
# format: <filename_without_extension>: <value>
|
13
|
+
home: Ana Sayfa
|
14
|
+
categories: Kategoriler
|
15
|
+
tags: Etiketler
|
16
|
+
archives: Arşiv
|
17
|
+
about: Hakkında
|
18
|
+
|
19
|
+
# the text displayed in the search bar & search results
|
20
|
+
search:
|
21
|
+
hint: Ara...
|
22
|
+
cancel: İptal
|
23
|
+
no_results: Hop! Öyle bir şey bulamadım.
|
24
|
+
|
25
|
+
panel:
|
26
|
+
lastmod: Yeni Güncellendi
|
27
|
+
trending_tags: Yükselen Etiketler
|
28
|
+
toc: İçindekiler
|
29
|
+
|
30
|
+
copyright:
|
31
|
+
# Shown at the bottom of the post
|
32
|
+
license:
|
33
|
+
template: Bu gönderi :LICENSE_NAME lisansı altındadır.
|
34
|
+
name: CC BY 4.0
|
35
|
+
link: https://creativecommons.org/licenses/by/4.0/deed.tr
|
36
|
+
|
37
|
+
# Displayed in the footer
|
38
|
+
brief: Bazı hakları saklıdır.
|
39
|
+
verbose: >-
|
40
|
+
Aksi belirtilmediği sürece, bu sitedeki gönderiler Creative Commons Atıf 4.0 Uluslararası (CC BY 4.0) Lisansı altındadır.
|
41
|
+
Kısaca sayfa linkini de vererek paylaşabilir veya düzenleyip paylaşabilirsin.
|
42
|
+
|
43
|
+
meta: :PLATFORM ve :THEME teması.
|
44
|
+
|
45
|
+
not_found:
|
46
|
+
statment: Üzgünüz, bu linki yanlış yerleştirdik veya var olmayan bir şeye işaret ediyor.
|
47
|
+
|
48
|
+
notification:
|
49
|
+
update_found: İçeriğin yeni bir sürümü mevcut.
|
50
|
+
update: Güncelle
|
51
|
+
|
52
|
+
# ----- Posts related labels -----
|
53
|
+
|
54
|
+
post:
|
55
|
+
written_by: Yazan
|
56
|
+
posted: Gönderilme Tarihi
|
57
|
+
updated: Güncellenme Tarihi
|
58
|
+
words: sözcük
|
59
|
+
pageview_measure: görüntülenme
|
60
|
+
read_time:
|
61
|
+
unit: dakikada
|
62
|
+
prompt: okunabilir
|
63
|
+
relate_posts: Benzer Gönderiler
|
64
|
+
share: Paylaş
|
65
|
+
button:
|
66
|
+
next: İleri
|
67
|
+
previous: Geri
|
68
|
+
copy_code:
|
69
|
+
succeed: Kopyalandı.
|
70
|
+
share_link:
|
71
|
+
title: Linki kopyala
|
72
|
+
succeed: Link kopyalandı.
|
73
|
+
# pinned prompt of posts list on homepage
|
74
|
+
pin_prompt: Sabitlendi
|
75
|
+
|
76
|
+
# categories page
|
77
|
+
categories:
|
78
|
+
category_measure: kategori
|
79
|
+
post_measure: gönderi
|
data/_data/locales/zh-CN.yml
CHANGED
@@ -67,11 +67,18 @@ post:
|
|
67
67
|
copy_code:
|
68
68
|
succeed: 已复制!
|
69
69
|
share_link:
|
70
|
-
title:
|
70
|
+
title: 分享链接
|
71
71
|
succeed: 链接已复制!
|
72
72
|
# pinned prompt of posts list on homepage
|
73
73
|
pin_prompt: 顶置
|
74
74
|
|
75
|
+
# Date time format.
|
76
|
+
# See: <http://strftime.net/>, <https://day.js.org/docs/en/display/format>
|
77
|
+
df:
|
78
|
+
post:
|
79
|
+
strftime: '%Y/%m/%d'
|
80
|
+
dayjs: 'YYYY/MM/DD'
|
81
|
+
|
75
82
|
# categories page
|
76
83
|
categories:
|
77
84
|
category_measure: 个分类
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"data-category": "{{ site.comments.giscus.category }}",
|
21
21
|
"data-category-id": "{{ site.comments.giscus.category_id }}",
|
22
22
|
"data-mapping": "{{ site.comments.giscus.mapping | default: 'pathname' }}",
|
23
|
-
"data-reactions-enabled": "1",
|
23
|
+
"data-reactions-enabled": "{{ site.comments.giscus.reactions_enabled | default: '1' }}",
|
24
24
|
"data-emit-metadata": "0",
|
25
25
|
"data-theme": initTheme,
|
26
26
|
"data-input-position": "{{ site.comments.giscus.input_position | default: 'bottom' }}",
|
data/_includes/datetime.html
CHANGED
@@ -4,14 +4,8 @@
|
|
4
4
|
-->
|
5
5
|
|
6
6
|
{% assign wrap_elem = include.wrap | default: 'em' %}
|
7
|
-
|
8
|
-
{%
|
9
|
-
{% assign df_strftime = '%b %e, %Y' %}
|
10
|
-
{% assign df_dayjs = 'll' %}
|
11
|
-
{% else %}
|
12
|
-
{% assign df_strftime = '%F' %}
|
13
|
-
{% assign df_dayjs = 'YYYY-MM-DD' %}
|
14
|
-
{% endif %}
|
7
|
+
{% assign df_strftime = site.data.locales[site.lang].df.post.strftime | default: '%d/%m/%Y' %}
|
8
|
+
{% assign df_dayjs = site.data.locales[site.lang].df.post.dayjs | default: 'DD/MM/YYYY' %}
|
15
9
|
|
16
10
|
<{{ wrap_elem }} class="{% if include.class %}{{ include.class }}{% endif %}"
|
17
11
|
data-ts="{{ include.date | date: '%s' }}"
|
data/_includes/footer.html
CHANGED
@@ -1,36 +1,36 @@
|
|
1
1
|
<!-- The Footer -->
|
2
2
|
|
3
|
-
<footer
|
4
|
-
<div class="
|
5
|
-
<div class="
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
3
|
+
<footer>
|
4
|
+
<div class="container pl-lg-4 pr-lg-4">
|
5
|
+
<div class="d-flex justify-content-between align-items-center text-muted ml-md-3 mr-md-3">
|
6
|
+
<div class="footer-left">
|
7
|
+
<p class="mb-0">
|
8
|
+
© {{ 'now' | date: "%Y" }}
|
9
|
+
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>.
|
10
|
+
{% if site.data.locales[site.lang].copyright.brief %}
|
11
|
+
<span data-toggle="tooltip" data-placement="top"
|
12
|
+
title="{{ site.data.locales[site.lang].copyright.verbose }}">{{ site.data.locales[site.lang].copyright.brief }}</span>
|
13
|
+
{% endif %}
|
14
|
+
</p>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="footer-right">
|
18
|
+
<p class="mb-0">
|
15
19
|
|
16
|
-
|
17
|
-
<p class="mb-0">
|
18
|
-
{% capture _platform %}
|
20
|
+
{% capture _platform %}
|
19
21
|
<a href="https://jekyllrb.com" target="_blank" rel="noopener">Jekyll</a>
|
20
|
-
|
22
|
+
{% endcapture %}
|
21
23
|
|
22
|
-
|
24
|
+
{% capture _theme %}
|
23
25
|
<a href="https://github.com/cotes2020/jekyll-theme-chirpy" target="_blank" rel="noopener">Chirpy</a>
|
24
|
-
|
25
|
-
|
26
|
-
{{ site.data.locales[lang].meta
|
27
|
-
| default: 'Powered by :PLATFORM with :THEME theme.'
|
28
|
-
| replace: ':PLATFORM', _platform | replace: ':THEME', _theme
|
29
|
-
}}
|
26
|
+
{% endcapture %}
|
30
27
|
|
31
|
-
|
28
|
+
{{ site.data.locales[site.lang].meta
|
29
|
+
| default: 'Powered by :PLATFORM with :THEME theme.'
|
30
|
+
| replace: ':PLATFORM', _platform | replace: ':THEME', _theme
|
31
|
+
}}
|
32
|
+
</p>
|
33
|
+
</div>
|
32
34
|
</div>
|
33
|
-
|
34
35
|
</div>
|
35
|
-
|
36
36
|
</footer>
|
data/_includes/head.html
CHANGED
@@ -6,11 +6,6 @@
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
8
8
|
|
9
|
-
<!-- Allow having a localized datetime different from the appearance language -->
|
10
|
-
{% if site.prefer_datetime_locale %}
|
11
|
-
<meta name="prefer-datetime-locale" content="{{ site.prefer_datetime_locale }}">
|
12
|
-
{% endif %}
|
13
|
-
|
14
9
|
{% if page.layout == 'home' or page.layout == 'post' %}
|
15
10
|
|
16
11
|
{% if site.google_analytics.pv.proxy_endpoint %}
|
data/_includes/js-selector.html
CHANGED
@@ -29,11 +29,7 @@
|
|
29
29
|
or page.layout == 'category'
|
30
30
|
or page.layout == 'tag' %}
|
31
31
|
|
32
|
-
{%
|
33
|
-
{% assign locale = site.prefer_datetime_locale | downcase %}
|
34
|
-
{% else %}
|
35
|
-
{% assign locale = site.lang | split: '-' | first %}
|
36
|
-
{% endif %}
|
32
|
+
{% assign locale = site.lang | split: '-' | first %}
|
37
33
|
|
38
34
|
{% assign _urls = site.data.assets[origin].dayjs.js.common
|
39
35
|
| append: ',' | append: site.data.assets[origin].dayjs.js.locale
|
data/_includes/post-nav.html
CHANGED
@@ -5,24 +5,24 @@
|
|
5
5
|
<div class="post-navigation d-flex justify-content-between">
|
6
6
|
{% if page.previous.url %}
|
7
7
|
<a href="{{ site.baseurl }}{{ page.previous.url }}" class="btn btn-outline-primary"
|
8
|
-
prompt="{{ site.data.locales[lang].post.button.previous }}">
|
8
|
+
prompt="{{ site.data.locales[site.lang].post.button.previous }}">
|
9
9
|
<p>{{ page.previous.title }}</p>
|
10
10
|
</a>
|
11
11
|
{% else %}
|
12
12
|
<div class="btn btn-outline-primary disabled"
|
13
|
-
prompt="{{ site.data.locales[lang].post.button.previous }}">
|
13
|
+
prompt="{{ site.data.locales[site.lang].post.button.previous }}">
|
14
14
|
<p>-</p>
|
15
15
|
</div>
|
16
16
|
{% endif %}
|
17
17
|
|
18
18
|
{% if page.next.url %}
|
19
19
|
<a href="{{ site.baseurl }}{{page.next.url}}" class="btn btn-outline-primary"
|
20
|
-
prompt="{{ site.data.locales[lang].post.button.next }}">
|
20
|
+
prompt="{{ site.data.locales[site.lang].post.button.next }}">
|
21
21
|
<p>{{ page.next.title }}</p>
|
22
22
|
</a>
|
23
23
|
{% else %}
|
24
24
|
<div class="btn btn-outline-primary disabled"
|
25
|
-
prompt="{{ site.data.locales[lang].post.button.next }}">
|
25
|
+
prompt="{{ site.data.locales[site.lang].post.button.next }}">
|
26
26
|
<p>-</p>
|
27
27
|
</div>
|
28
28
|
{% endif %}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
The paginator for post list on HomgPage.
|
3
3
|
-->
|
4
4
|
|
5
|
-
<ul class="pagination align-items-center mt-4
|
5
|
+
<ul class="pagination align-items-center mt-4 pl-lg-2">
|
6
6
|
<!-- left arrow -->
|
7
7
|
{% if paginator.previous_page %}
|
8
8
|
{% assign prev_url = paginator.previous_page_path | relative_url %}
|
data/_includes/post-sharing.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
-->
|
4
4
|
|
5
5
|
<div class="share-wrapper">
|
6
|
-
<span class="share-label text-muted mr-1">{{ site.data.locales[lang].post.share }}</span>
|
6
|
+
<span class="share-label text-muted mr-1">{{ site.data.locales[site.lang].post.share }}</span>
|
7
7
|
<span class="share-icons">
|
8
8
|
{% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %}
|
9
9
|
{% assign title = title | url_encode %}
|
@@ -19,8 +19,8 @@
|
|
19
19
|
|
20
20
|
<i id="copy-link" class="fa-fw fas fa-link small"
|
21
21
|
data-toggle="tooltip" data-placement="top"
|
22
|
-
title="{{ site.data.locales[lang].post.button.share_link.title }}"
|
23
|
-
data-title-succeed="{{ site.data.locales[lang].post.button.share_link.succeed }}">
|
22
|
+
title="{{ site.data.locales[site.lang].post.button.share_link.title }}"
|
23
|
+
data-title-succeed="{{ site.data.locales[site.lang].post.button.share_link.succeed }}">
|
24
24
|
</i>
|
25
25
|
|
26
26
|
</span>
|
data/_includes/read-time.html
CHANGED
@@ -16,13 +16,13 @@
|
|
16
16
|
{% endunless %}
|
17
17
|
|
18
18
|
{% capture read_prompt %}
|
19
|
-
{{- site.data.locales[lang].post.read_time.prompt -}}
|
19
|
+
{{- site.data.locales[site.lang].post.read_time.prompt -}}
|
20
20
|
{% endcapture %}
|
21
21
|
|
22
22
|
<!-- return element -->
|
23
23
|
<span class="readtime" data-toggle="tooltip" data-placement="bottom"
|
24
|
-
title="{{ words }} {{ site.data.locales[lang].post.words }}">
|
25
|
-
<em>{{- read_time -}}{{" "}}{{- site.data.locales[lang].post.read_time.unit -}}</em>
|
24
|
+
title="{{ words }} {{ site.data.locales[site.lang].post.words }}">
|
25
|
+
<em>{{- read_time -}}{{" "}}{{- site.data.locales[site.lang].post.read_time.unit -}}</em>
|
26
26
|
{%- if include.prompt -%}
|
27
27
|
{%- assign _prompt_words = read_prompt | number_of_words: 'auto' -%}
|
28
28
|
{%- unless _prompt_words > 1 -%}{{ " " }}{%- endunless -%}{{ read_prompt }}
|