jekyll-theme-chirpy 5.2.1 → 5.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 +1 -1
- data/_data/locales/bg-BG.yml +83 -0
- data/_data/locales/de-DE.yml +82 -0
- data/_data/locales/hu-HU.yml +81 -0
- data/_data/locales/tr-TR.yml +79 -0
- data/_includes/post-paginator.html +1 -1
- data/_includes/refactor-content.html +1 -1
- data/_includes/related-posts.html +2 -2
- data/_layouts/archives.html +22 -29
- data/_layouts/page.html +5 -4
- data/_layouts/post.html +14 -14
- data/_sass/addon/syntax.scss +1 -0
- data/_sass/jekyll-theme-chirpy.scss +1 -1
- data/_sass/layout/archives.scss +75 -78
- data/_sass/layout/home.scss +1 -1
- data/_sass/layout/post.scss +4 -0
- data/_tabs/about.md +1 -1
- data/_tabs/archives.md +0 -1
- data/_tabs/categories.md +0 -1
- data/_tabs/tags.md +0 -1
- data/assets/js/dist/categories.min.js +1 -1
- data/assets/js/dist/commons.min.js +1 -1
- data/assets/js/dist/home.min.js +1 -1
- data/assets/js/dist/misc.min.js +1 -1
- data/assets/js/dist/page.min.js +1 -1
- data/assets/js/dist/post.min.js +1 -1
- data/assets/js/dist/pvreport.min.js +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0239149b41742d66e3b864c67ab2b1835965abd153d5ed201243cd104e34ae3b'
|
4
|
+
data.tar.gz: 0f889d93017e60db13b017e7517baa51538298a3b5eae87913c8ce2fee7ae4d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76d27c451fb2b452882bc639666403a59d0b091312e7269a2e67e8d1106494850f01312588261049aedb147864599e80910c3b5e5140d624c5a9a87551265569
|
7
|
+
data.tar.gz: dc40b45641186e538e17a1e03ae560e582a08bcf3310d9c085534e85cec5e6ba61da41a66db1ba4708e8f83628d2ff1421bf8798d94332ebda532bd2c85f7031
|
data/README.md
CHANGED
@@ -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
|
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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 %}
|
@@ -214,7 +214,7 @@
|
|
214
214
|
|
215
215
|
{% assign left = snippet | split: mark_end | first %}
|
216
216
|
{% assign right = snippet | slice: left.size, snippet.size %}
|
217
|
-
{% assign left = left |
|
217
|
+
{% assign left = left | replace_first: '">', '"><span class="mr-2">' | append: '</span>' %}
|
218
218
|
|
219
219
|
{% assign _new_content = _new_content | append: mark_start
|
220
220
|
| append: left | append: anchor | append: right
|
@@ -76,8 +76,8 @@
|
|
76
76
|
{% endif %}
|
77
77
|
|
78
78
|
{% if index_list.size > 0 %}
|
79
|
-
<div id="related-posts" class="
|
80
|
-
<h3 class="pt-2
|
79
|
+
<div id="related-posts" class="mb-2 mb-sm-4">
|
80
|
+
<h3 class="pt-2 mb-4 ml-1"
|
81
81
|
data-toc-skip>{{ site.data.locales[lang].post.relate_posts }}</h3>
|
82
82
|
<div class="card-deck mb-4">
|
83
83
|
{% for entry in index_list %}
|
data/_layouts/archives.html
CHANGED
@@ -13,36 +13,29 @@ layout: page
|
|
13
13
|
{% assign df_dayjs_m = '/ MM' %}
|
14
14
|
{% endif %}
|
15
15
|
|
16
|
-
<div id="archives" class="pl-xl-
|
16
|
+
<div id="archives" class="pl-xl-3">
|
17
|
+
|
17
18
|
{% for post in site.posts %}
|
18
|
-
{% capture
|
19
|
-
|
20
|
-
{% if
|
21
|
-
{%
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
{% endif %}
|
26
|
-
<li>
|
27
|
-
<div>
|
28
|
-
{% assign ts = post.date | date: '%s' %}
|
29
|
-
<span class="date day" data-ts="{{ ts }}" data-df="DD">
|
30
|
-
{{ post.date | date: "%d" }}
|
31
|
-
</span>
|
32
|
-
<span class="date month small text-muted" data-ts="{{ ts }}" data-df="{{ df_dayjs_m }}">
|
33
|
-
{{ post.date | date: df_strftime_m }}
|
34
|
-
</span>
|
35
|
-
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
36
|
-
</div>
|
37
|
-
</li>
|
38
|
-
{% if forloop.last %}
|
39
|
-
</ul>
|
40
|
-
{% elsif this_year != pre_year %}
|
41
|
-
</ul>
|
42
|
-
<span class="lead">{{pre_year}}</span>
|
43
|
-
<ul class="list-unstyled">
|
44
|
-
{% assign last_day = "" %}
|
45
|
-
{% assign last_month = "" %}
|
19
|
+
{% capture cur_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
20
|
+
|
21
|
+
{% if cur_year != last_year %}
|
22
|
+
{% unless forloop.first %}</ul>{% endunless %}
|
23
|
+
<div class="year lead">{{ cur_year }}</div>
|
24
|
+
<ul class="list-unstyled">
|
25
|
+
{% assign last_year = cur_year %}
|
46
26
|
{% endif %}
|
27
|
+
|
28
|
+
<li>
|
29
|
+
{% assign ts = post.date | date: '%s' %}
|
30
|
+
<span class="date day" data-ts="{{ ts }}" data-df="DD">{{ post.date | date: "%d" }}</span>
|
31
|
+
<span class="date month small text-muted ml-1" data-ts="{{ ts }}" data-df="{{ df_dayjs_m }}">
|
32
|
+
{{ post.date | date: df_strftime_m }}
|
33
|
+
</span>
|
34
|
+
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
35
|
+
</li>
|
36
|
+
|
37
|
+
{% if forloop.last %}</ul>{% endif %}
|
38
|
+
|
47
39
|
{% endfor %}
|
40
|
+
|
48
41
|
</div>
|
data/_layouts/page.html
CHANGED
@@ -9,7 +9,7 @@ layout: default
|
|
9
9
|
<div class="row">
|
10
10
|
|
11
11
|
<!-- core -->
|
12
|
-
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4">
|
12
|
+
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4 pb-5">
|
13
13
|
<div class="post pl-1 pr-1 pl-md-2 pr-md-2">
|
14
14
|
|
15
15
|
{% capture _content %}
|
@@ -20,7 +20,8 @@ layout: default
|
|
20
20
|
{% endif %}
|
21
21
|
{% endcapture %}
|
22
22
|
|
23
|
-
{% if page.
|
23
|
+
{% if page.collection == 'tabs' %}
|
24
|
+
{% assign tab_key = page.title | downcase %}
|
24
25
|
{% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %}
|
25
26
|
<h1 class="dynamic-title">
|
26
27
|
{{ title }}
|
@@ -35,7 +36,7 @@ layout: default
|
|
35
36
|
</div>
|
36
37
|
</div> <!-- #core-wrapper -->
|
37
38
|
|
38
|
-
<!--
|
39
|
+
<!-- panel -->
|
39
40
|
<div id="panel-wrapper" class="col-xl-3 pl-2 text-muted">
|
40
41
|
|
41
42
|
<div class="access">
|
@@ -43,7 +44,7 @@ layout: default
|
|
43
44
|
{% include trending-tags.html %}
|
44
45
|
</div>
|
45
46
|
|
46
|
-
{% for _include in layout.
|
47
|
+
{% for _include in layout.panel_includes %}
|
47
48
|
{% assign _include_path = _include | append: '.html' %}
|
48
49
|
{% include {{ _include_path }} %}
|
49
50
|
{% endfor %}
|
data/_layouts/post.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: page
|
3
3
|
refactor: true
|
4
|
-
|
4
|
+
panel_includes:
|
5
5
|
- toc
|
6
6
|
tail_includes:
|
7
7
|
- related-posts
|
@@ -50,32 +50,32 @@ tail_includes:
|
|
50
50
|
{% endif %}>
|
51
51
|
|
52
52
|
{% if page.image.alt %}
|
53
|
-
<figcaption class="pt-2 pb-2">{{ page.image.alt }}</figcaption>
|
53
|
+
<figcaption class="text-center pt-2 pb-2">{{ page.image.alt }}</figcaption>
|
54
54
|
{% endif %}
|
55
55
|
|
56
56
|
</div>
|
57
57
|
{% endif %}
|
58
58
|
|
59
59
|
<div class="d-flex justify-content-between">
|
60
|
-
<!-- author -->
|
60
|
+
<!-- author(s) -->
|
61
61
|
<span>
|
62
|
-
{% capture author_name %}{{ site.data.authors[page.author].name | default: site.social.name }}{% endcapture %}
|
63
|
-
{% assign author_link = nil %}
|
64
|
-
|
65
62
|
{% if page.author %}
|
66
|
-
{% assign
|
67
|
-
{% elsif
|
68
|
-
{% assign
|
63
|
+
{% assign authors = page.author %}
|
64
|
+
{% elsif page.authors %}
|
65
|
+
{% assign authors = page.authors %}
|
69
66
|
{% endif %}
|
70
67
|
|
71
68
|
{{ site.data.locales[lang].post.written_by }}
|
72
69
|
|
73
70
|
<em>
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
{%
|
71
|
+
{% if authors %}
|
72
|
+
{% for author in authors %}
|
73
|
+
<a href="{{ site.data.authors[author].url }}">{{ site.data.authors[author].name }}</a>
|
74
|
+
{% unless forloop.last %}</em>, <em>{% endunless %}
|
75
|
+
{% endfor %}
|
76
|
+
{% else %}
|
77
|
+
<a href="{{ site.social.links[0] }}">{{ site.social.name }}</a>
|
78
|
+
{% endif %}
|
79
79
|
</em>
|
80
80
|
</span>
|
81
81
|
|
data/_sass/addon/syntax.scss
CHANGED
data/_sass/layout/archives.scss
CHANGED
@@ -2,35 +2,51 @@
|
|
2
2
|
Style for Archives
|
3
3
|
*/
|
4
4
|
|
5
|
-
%date-timeline {
|
6
|
-
content: "";
|
7
|
-
width: 4px;
|
8
|
-
left: 75px;
|
9
|
-
display: inline-block;
|
10
|
-
float: left;
|
11
|
-
position: relative;
|
12
|
-
background-color: var(--timeline-color);
|
13
|
-
}
|
14
|
-
|
15
5
|
#archives {
|
16
6
|
letter-spacing: 0.03rem;
|
17
7
|
|
18
|
-
|
8
|
+
$timeline-width: 4px;
|
9
|
+
|
10
|
+
%timeline {
|
11
|
+
content: "";
|
12
|
+
width: $timeline-width;
|
13
|
+
position: relative;
|
14
|
+
float: left;
|
15
|
+
background-color: var(--timeline-color);
|
16
|
+
}
|
17
|
+
|
18
|
+
.year {
|
19
|
+
height: 3.5rem;
|
19
20
|
font-size: 1.5rem;
|
20
21
|
position: relative;
|
21
|
-
left:
|
22
|
+
left: 2px;
|
23
|
+
margin-left: -$timeline-width;
|
24
|
+
|
25
|
+
&::before {
|
26
|
+
@extend %timeline;
|
27
|
+
|
28
|
+
height: 72px;
|
29
|
+
left: 79px;
|
30
|
+
bottom: 16px;
|
31
|
+
}
|
32
|
+
|
33
|
+
&:first-child::before {
|
34
|
+
@extend %timeline;
|
35
|
+
|
36
|
+
height: 32px;
|
37
|
+
top: 24px;
|
38
|
+
}
|
22
39
|
|
23
40
|
&::after { /* Year dot */
|
24
41
|
content: "";
|
25
|
-
display: block;
|
42
|
+
display: inline-block;
|
26
43
|
position: relative;
|
27
44
|
-webkit-border-radius: 50%;
|
28
45
|
-moz-border-radius: 50%;
|
29
46
|
border-radius: 50%;
|
30
47
|
width: 12px;
|
31
48
|
height: 12px;
|
32
|
-
|
33
|
-
left: 63px;
|
49
|
+
left: 21.5px;
|
34
50
|
border: 3px solid;
|
35
51
|
background-color: var(--timeline-year-dot-color);
|
36
52
|
border-color: var(--timeline-node-bg);
|
@@ -38,101 +54,82 @@
|
|
38
54
|
z-index: 1;
|
39
55
|
}
|
40
56
|
|
41
|
-
|
42
|
-
position: relative;
|
43
|
-
left: 4px;
|
44
|
-
|
45
|
-
&::after {
|
46
|
-
left: 67px;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
} // #archives span.lead
|
57
|
+
}
|
51
58
|
|
52
59
|
ul {
|
53
60
|
li {
|
54
61
|
font-size: 1.1rem;
|
55
62
|
line-height: 3rem;
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
overflow: hidden;
|
60
|
-
text-overflow: ellipsis;
|
61
|
-
|
62
|
-
a {
|
63
|
-
/* post title in Archvies */
|
64
|
-
margin-left: 2.5rem;
|
65
|
-
position: relative;
|
66
|
-
top: 0.1rem;
|
67
|
-
}
|
68
|
-
}
|
63
|
+
white-space: nowrap;
|
64
|
+
overflow: hidden;
|
65
|
+
text-overflow: ellipsis;
|
69
66
|
|
70
67
|
&:nth-child(odd) {
|
71
68
|
background-color: var(--main-wrapper-bg, #fff);
|
72
69
|
background-image: linear-gradient(to left, #fff, #fbfbfb, #fbfbfb, #fbfbfb, #fff);
|
73
70
|
}
|
74
71
|
|
75
|
-
&::
|
76
|
-
@extend %
|
77
|
-
|
78
|
-
height: 2.8rem;
|
79
|
-
top: -1.3rem;
|
80
|
-
}
|
81
|
-
|
82
|
-
&:first-child::before {
|
83
|
-
@extend %date-timeline;
|
72
|
+
&::before {
|
73
|
+
@extend %timeline;
|
84
74
|
|
85
|
-
|
86
|
-
|
75
|
+
top: 0;
|
76
|
+
left: 77px;
|
77
|
+
height: 3.1rem;
|
87
78
|
}
|
88
79
|
}
|
89
80
|
|
90
|
-
&:
|
91
|
-
height:
|
81
|
+
&:last-child li:last-child::before {
|
82
|
+
height: 1.5rem;
|
92
83
|
}
|
93
84
|
|
94
|
-
|
95
|
-
display: none;
|
96
|
-
}
|
97
|
-
} // #archives ul
|
85
|
+
} /* #archives ul */
|
98
86
|
|
99
87
|
.date {
|
100
88
|
white-space: nowrap;
|
101
89
|
display: inline-block;
|
90
|
+
position: relative;
|
91
|
+
right: 0.5rem;
|
102
92
|
|
103
93
|
&.month {
|
104
94
|
width: 1.4rem;
|
105
95
|
text-align: center;
|
106
|
-
|
107
|
-
~ a::before {
|
108
|
-
/* A dot for Month and Day */
|
109
|
-
content: "";
|
110
|
-
display: inline-block;
|
111
|
-
position: relative;
|
112
|
-
-webkit-border-radius: 50%;
|
113
|
-
-moz-border-radius: 50%;
|
114
|
-
border-radius: 50%;
|
115
|
-
width: 8px;
|
116
|
-
height: 8px;
|
117
|
-
float: left;
|
118
|
-
top: 1.35rem;
|
119
|
-
left: 69px;
|
120
|
-
background-color: var(--timeline-node-bg);
|
121
|
-
box-shadow: 0 0 3px 0 #c2c6cc;
|
122
|
-
z-index: 1;
|
123
|
-
}
|
124
96
|
}
|
125
97
|
|
126
98
|
&.day {
|
127
99
|
font-size: 85%;
|
128
100
|
font-family: 'Lato', sans-serif;
|
129
|
-
|
130
|
-
|
131
|
-
|
101
|
+
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
a {
|
106
|
+
/* post title in Archvies */
|
107
|
+
margin-left: 2.5rem;
|
108
|
+
position: relative;
|
109
|
+
top: 0.1rem;
|
110
|
+
|
111
|
+
&:hover {
|
112
|
+
border-bottom: none;
|
113
|
+
}
|
114
|
+
|
115
|
+
&::before {
|
116
|
+
/* the dot before post title */
|
117
|
+
content: "";
|
118
|
+
display: inline-block;
|
132
119
|
position: relative;
|
133
|
-
|
120
|
+
-webkit-border-radius: 50%;
|
121
|
+
-moz-border-radius: 50%;
|
122
|
+
border-radius: 50%;
|
123
|
+
width: 8px;
|
124
|
+
height: 8px;
|
125
|
+
float: left;
|
126
|
+
top: 1.35rem;
|
127
|
+
left: 71px;
|
128
|
+
background-color: var(--timeline-node-bg);
|
129
|
+
box-shadow: 0 0 3px 0 #c2c6cc;
|
130
|
+
z-index: 1;
|
134
131
|
}
|
135
|
-
}
|
132
|
+
}
|
136
133
|
|
137
134
|
} // #archives
|
138
135
|
|
data/_sass/layout/home.scss
CHANGED
data/_sass/layout/post.scss
CHANGED
data/_tabs/about.md
CHANGED
data/_tabs/archives.md
CHANGED
data/_tabs/categories.md
CHANGED
data/_tabs/tags.md
CHANGED
data/assets/js/dist/home.min.js
CHANGED
data/assets/js/dist/misc.min.js
CHANGED
data/assets/js/dist/page.min.js
CHANGED
data/assets/js/dist/post.min.js
CHANGED
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: 5.
|
4
|
+
version: 5.3.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: 2022-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -108,14 +108,18 @@ files:
|
|
108
108
|
- _data/assets/self_host.yml
|
109
109
|
- _data/authors.yml
|
110
110
|
- _data/contact.yml
|
111
|
+
- _data/locales/bg-BG.yml
|
112
|
+
- _data/locales/de-DE.yml
|
111
113
|
- _data/locales/en.yml
|
112
114
|
- _data/locales/es-ES.yml
|
113
115
|
- _data/locales/fr-FR.yml
|
116
|
+
- _data/locales/hu-HU.yml
|
114
117
|
- _data/locales/id-ID.yml
|
115
118
|
- _data/locales/ko-KR.yml
|
116
119
|
- _data/locales/my-MM.yml
|
117
120
|
- _data/locales/pt-BR.yml
|
118
121
|
- _data/locales/ru-RU.yml
|
122
|
+
- _data/locales/tr-TR.yml
|
119
123
|
- _data/locales/uk-UA.yml
|
120
124
|
- _data/locales/vi-VN.yml
|
121
125
|
- _data/locales/zh-CN.yml
|