From 727f9c6e53b59a20fc5a8762b40e1dab572b1fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC?= Date: Tue, 2 Jul 2024 20:04:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BD=D0=BE=D0=BF=D0=BE=D1=87=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BA?= =?UTF-8?q?=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D1=82=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 3 ++- content/contacts/_index.md | 3 +++ content/{ => contacts}/contacts.md | 3 +-- content/donate/_index.md | 3 +++ content/{ => donate}/donate.md | 2 +- content/posts/codeberg_x_nextcloud.md | 2 +- content/services/_index.md | 3 +++ content/{ => services}/services.md | 1 - layouts/_default/single.html | 1 + layouts/partials/pagination.html | 16 ++++++++++++++++ layouts/partials/posts_pagination.html | 26 ++++++++++++++++++++++++++ 11 files changed, 57 insertions(+), 6 deletions(-) create mode 100644 content/contacts/_index.md rename content/{ => contacts}/contacts.md (90%) create mode 100644 content/donate/_index.md rename content/{ => donate}/donate.md (94%) create mode 100644 content/services/_index.md rename content/{ => services}/services.md (99%) create mode 100644 layouts/partials/pagination.html create mode 100644 layouts/partials/posts_pagination.html 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