diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 57034a7..30a37da 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -5,6 +5,14 @@ paginate: 3 title: Example Site copyright: Example Person +# Theme i18n support +# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw +DefaultContentLanguage: en + +# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko] +# This will make .Summary and .WordCount behave correctly for CJK languages. +hasCJKLanguage: false + languages: en: languageName: English @@ -26,19 +34,13 @@ languages: params: description: وصف تجريبي -# Change it to your Disqus shortname before using -disqusShortname: hugo-theme-stack - -# GA Tracking ID -googleAnalytics: - -# Theme i18n support -# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw -DefaultContentLanguage: en - -# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko] -# This will make .Summary and .WordCount behave correctly for CJK languages. -hasCJKLanguage: false +services: + # Change it to your Disqus shortname before using + disqus: + shortname: "hugo-theme-stack" + # GA Tracking ID + googleAnalytics: + id: permalinks: post: /p/:slug/ @@ -49,7 +51,7 @@ params: - post featuredImageField: image rssFullContent: true - favicon: # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary) + favicon: # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary) footer: since: 2020 diff --git a/i18n/be.yaml b/i18n/be.yaml new file mode 100644 index 0000000..605cd08 --- /dev/null +++ b/i18n/be.yaml @@ -0,0 +1,72 @@ +toggleMenu: + other: Паказаць/схаваць меню + +darkMode: + other: Цёмны рэжым + +list: + page: + one: "{{ .Count }} старонка" + few: "{{ .Count }} старонкі" + many: "{{ .Count }} старонак" + other: "{{ .Count }} старонкі" + + section: + other: Раздзел + + subsection: + one: Падраздзел + few: Падраздзелы + many: Падраздзелы + other: Падраздзелы + +article: + back: + other: Назад + + relatedContent: + other: Таксама рэкамендуем + + lastUpdatedOn: + other: Абноўлена + + tableOfContents: + other: Змест + + readingTime: + other: "Час чытання: {{ .Count }} хв." + +notFound: + title: + other: Не знойдзена + + subtitle: + other: Запытваемая старонка не існуе + +widget: + archives: + title: + other: Архівы + more: + other: Яшчэ + + tagCloud: + title: + other: Тэгі + +search: + title: + other: Пошук + + placeholder: + other: Увядзіце нешта... + + resultTitle: + other: "Знайдзена #PAGES_COUNT старонак (за #TIME_SECONDS с.)" + +footer: + builtWith: + other: Створана пры дапамозе {{ .Generator }} + + designedBy: + other: Тэма {{ .Theme }}, дызайн {{ .DesignedBy }} diff --git a/layouts/partials/sidebar/right.html b/layouts/partials/sidebar/right.html index d2a6ae8..6333f10 100644 --- a/layouts/partials/sidebar/right.html +++ b/layouts/partials/sidebar/right.html @@ -4,7 +4,10 @@