From 7be5dd910b9a2adbc09802bd5693cffd617d2c55 Mon Sep 17 00:00:00 2001 From: Astronit Date: Fri, 24 Jul 2026 13:09:59 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D1=80=D0=B8=D0=B5=D0=B2=20Comentario=20(partial,=20globa?= =?UTF-8?q?l=20showComments)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/_default/params.toml | 2 +- .../cheatsheets/blowfish-shortcodes/index.md | 1 + layouts/partials/comments.html | 17 +++-------------- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 84919f9..021c862 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -96,7 +96,7 @@ forgejoDefaultServer = "https://v11.next.forgejo.org" sharingLinks = [ "reddit", "email", "telegram"] # showZenMode = false # externalLinkForceNewTab = false # disable to allow external links in the same tab (defaults to true) - # showComments = true + showComments = true [list] showHero = true diff --git a/content/cheatsheets/blowfish-shortcodes/index.md b/content/cheatsheets/blowfish-shortcodes/index.md index 8d6d07a..aa2e4b3 100644 --- a/content/cheatsheets/blowfish-shortcodes/index.md +++ b/content/cheatsheets/blowfish-shortcodes/index.md @@ -7,6 +7,7 @@ slug: "shortcodes" tags: ["shortcodes", "mermaid", "icon", "lead", "docs"] series: ["Документация"] series_order: 8 +showComments: true --- Hugo даёт [стандартные shortcodes](https://gohugo.io/content-management/shortcodes/). Blowfish добавляет свои — для типичных задач блога. diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 9b75b57..0ab7248 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,14 +1,3 @@ - -
-
-
- - \ No newline at end of file + + + \ No newline at end of file