diff --git a/config.toml b/config.toml index 53042de..38c9c71 100755 --- a/config.toml +++ b/config.toml @@ -64,6 +64,7 @@ DefaultContentLanguage = "ru" # can be overridden in a page's front-matter # TocTitle = "Содержание" # default +[languages] [languages.ru] languageCode = 'ru' languageName = 'RU' @@ -74,7 +75,7 @@ DefaultContentLanguage = "ru" copyright = "" menuMore = "Меню" readMore = "Читать далее" - readOtherPosts = "Читать другие статьи" + readOtherPosts = "Другие статьи" newerPosts = "Новые посты" olderPosts = "Старые посты" missingContentMessage = "Страница не найдена..." diff --git a/content/contacts/_index.md b/content/contacts/_index.md new file mode 100644 index 0000000..2193dd5 --- /dev/null +++ b/content/contacts/_index.md @@ -0,0 +1,3 @@ +--- +title: "Контакты" +--- \ No newline at end of file diff --git a/content/contacts.md b/content/contacts/contacts.md similarity index 90% rename from content/contacts.md rename to content/contacts/contacts.md index 8137db2..843c38c 100755 --- a/content/contacts.md +++ b/content/contacts/contacts.md @@ -1,6 +1,5 @@ --- -title: Контакты ---- +showFullContent: true --- **`Email`** [sadml[at]disroot.org](mailto:sadml@disroot.org) diff --git a/content/donate/_index.md b/content/donate/_index.md new file mode 100644 index 0000000..fd75962 --- /dev/null +++ b/content/donate/_index.md @@ -0,0 +1,3 @@ +--- +title: "Поддержка" +--- \ No newline at end of file diff --git a/content/donate.md b/content/donate/donate.md similarity index 94% rename from content/donate.md rename to content/donate/donate.md index fa7aba2..f385eed 100644 --- a/content/donate.md +++ b/content/donate/donate.md @@ -1,5 +1,5 @@ --- -title: "Поддержка" +showFullContent: true --- --- diff --git a/content/posts/codeberg_x_nextcloud.md b/content/posts/codeberg_x_nextcloud.md index 0928a84..0605b04 100644 --- a/content/posts/codeberg_x_nextcloud.md +++ b/content/posts/codeberg_x_nextcloud.md @@ -36,4 +36,4 @@ hideComments: false Теперь попробуйте связать ваш аккаунт Codeberg и Nextcloud из пункта `Social Login` в настройках пользователя Nextcloud, должно работать. В теории, это также применимо к `Gitea`, потому что [Forgejo](https://forgejo.org) это форк [Gitea](https://gitea.com). -Давеча сделал по этому поводу Issue на Github: https://github.com/zorn-v/nextcloud-social-login/issues/440 +Давеча сделал по этому поводу Issue на Github: https://github.com/zorn-v/nextcloud-social-login/issues/440 \ No newline at end of file diff --git a/content/services/_index.md b/content/services/_index.md new file mode 100644 index 0000000..673b6da --- /dev/null +++ b/content/services/_index.md @@ -0,0 +1,3 @@ +--- +title: "Сервисы" +--- \ No newline at end of file diff --git a/content/services.md b/content/services/services.md similarity index 99% rename from content/services.md rename to content/services/services.md index da45856..dcf705b 100644 --- a/content/services.md +++ b/content/services/services.md @@ -1,6 +1,5 @@ --- showFullContent: true -title: Сервисы --- Прим. `OIDC` = вход через аккаунт [Nextcloud](#nextcloud) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4835b9f..06742e2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,4 +14,5 @@ + {{ partial "posts_pagination.html" . }} {{ end }} diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html new file mode 100644 index 0000000..05b71ff --- /dev/null +++ b/layouts/partials/pagination.html @@ -0,0 +1,16 @@ + diff --git a/layouts/partials/posts_pagination.html b/layouts/partials/posts_pagination.html new file mode 100644 index 0000000..04951d5 --- /dev/null +++ b/layouts/partials/posts_pagination.html @@ -0,0 +1,26 @@ +{{ if or .NextInSection .PrevInSection }} + +{{ end }} \ No newline at end of file