Skip to content

Commit 7d63537

Browse files
committed
update category page languages
1 parent 912dabc commit 7d63537

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Jekyll Paper for Github is the sub-project for [Jekyll Paper][jekyll-paper], it
1818
- Configurable navigation menu
1919
- SEO Optimization
2020
- Comments
21+
- Category Index
2122

2223
## Getting Start
2324

_data/lang.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ en:
1212
post_tags: "Tags: "
1313
post_previous: "Previous: "
1414
post_next: "Next: "
15+
categories_title: "Categories"
1516

1617
de:
1718
menu_index: "Index"
@@ -27,6 +28,7 @@ de:
2728
post_tags: "Etikett: "
2829
post_previous: "Bisherige: "
2930
post_next: "Nächster: "
31+
categories_title: "Kategorien"
3032

3133
es:
3234
menu_index: "Índice"
@@ -42,6 +44,7 @@ es:
4244
post_tags: "Etiquetas: "
4345
post_previous: "Anterior: "
4446
post_next: "Siguiente: "
47+
categories_title: "Categorías"
4548

4649
fr:
4750
menu_index: "Indice"
@@ -57,6 +60,7 @@ fr:
5760
post_tags: "Étiquette: "
5861
post_previous: "Précédent: "
5962
post_next: "Prochain: "
63+
categories_title: "Catégories"
6064

6165
ja:
6266
menu_index: "ホーム"
@@ -72,6 +76,7 @@ ja:
7276
post_tags: "ラベル:"
7377
post_previous: "前の記事:"
7478
post_next: "次の記事:"
79+
categories_title: "分類"
7580

7681
pt:
7782
menu_index: "Índice"
@@ -87,6 +92,7 @@ pt:
8792
post_tags: "Etiquetas: "
8893
post_previous: "Anterior: "
8994
post_next: "Próximo: "
95+
categories_title: "Categorias"
9096

9197
zh-cn:
9298
menu_index: "首页"
@@ -102,6 +108,7 @@ zh-cn:
102108
post_tags: "标签:"
103109
post_previous: "前一篇:"
104110
post_next: "后一篇:"
111+
categories_title: "分类"
105112

106113
zh-tw:
107114
menu_index: "首頁"
@@ -116,4 +123,5 @@ zh-tw:
116123
post_categories: "分類:"
117124
post_tags: "標籤:"
118125
post_previous: "前一篇:"
119-
post_next: "後一篇:"
126+
post_next: "後一篇:"
127+
categories_title: "分類"

_data/menus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- default: menu_index
22
url: ""
33

4-
- title: "Categories"
4+
- default: menu_category
55
url: "categories"
66

77
- title: "Jekyll Paper for Github"

pages/categories.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
---
66

77
<article class="jp-post">
8-
<h1 class="jp-post-title">Categories</h1>
8+
<h1 class="jp-post-title">{{ site.data.lang[site.language].categories_title }}</h1>
99
<ul class="jp-categories-list">
1010
{% for category in site.categories %}
1111
<li id="{{ category | first }}">{{ category | first }}

0 commit comments

Comments
 (0)