diff --git a/README.md b/README.md index bb54244..4befc8a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ Example: languageCode: "en-us" baseUrl = "" title: "Anubis" -author: "" theme: "anubis" paginate: 10 disqusShortname: yourdiscussshortname @@ -43,6 +42,7 @@ menu: weight: 0 params: + author: "" description: "" images: - images/og-featured.png diff --git a/i18n/en.yaml b/i18n/en.yaml new file mode 100644 index 0000000..252ab12 --- /dev/null +++ b/i18n/en.yaml @@ -0,0 +1,29 @@ +powered: + other: "powered by" + +theme: + other: "theme" + +readMore: + other: "read more" + +toNewPosts: + other: "to new posts" + +toOldPosts: + other: "to old posts" + +tag: + other: "tag" + +Tags: + other: "tags" + +Posts: + other: "Posts" + +Categories: + other: "Categories" + +toAllTags: + other: "To all tags" \ No newline at end of file diff --git a/i18n/ru.yaml b/i18n/ru.yaml new file mode 100644 index 0000000..148c414 --- /dev/null +++ b/i18n/ru.yaml @@ -0,0 +1,29 @@ +powered: + other: "движок" + +theme: + other: "тема" + +readMore: + other: "читать дальше" + +toNewPosts: + other: "к новым записям" + +toOldPosts: + other: "к старым записям" + +tag: + other: "Тег" + +Tags: + other: "Теги" + +Posts: + other: "Записи" + +Categories: + other: "Категории" + +toAllTags: + other: "Ко списку всех тегов" \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f69cfd7..1ee2aa7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,6 @@ {{ define "main" }} -
© Дмитрий Колосов, 2020
-Движок Hugo, тема Anubis.
+
© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}2020
+{{ i18n "powered" | humanize }} Hugo, {{ i18n "theme" }} Anubis.