diff --git a/i18n/en.yaml b/i18n/en.yaml index 7a0b527..5a10971 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -16,6 +16,12 @@ list: one: Subsection other: Subsections + categories: + other: Categories + + tags: + other: Tags + article: back: other: Back diff --git a/i18n/ru.yaml b/i18n/ru.yaml index 79afb2f..7b15ae2 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -20,6 +20,12 @@ list: many: Подразделы other: Подразделы + categories: + other: Категории + + tags: + other: Теги + article: back: other: Назад diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9bc618d..4f2dd7c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,14 +4,27 @@ {{ if eq .Parent (.GetPage "/") }} {{ T "list.section" }} {{ else }} - {{ .Parent.Title }} + {{ T (printf "list.%s" .Parent.Title | urlize | lower) }} {{ end }}