From 2ecb959c5b9c2b0750212af0349fd6d4a5c25258 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Tue, 10 Feb 2026 17:11:24 +0300 Subject: =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B2=D1=8B=D0=B9=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=BC=D0=B8=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_partials/terms.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 layouts/_partials/terms.html (limited to 'layouts/_partials/terms.html') diff --git a/layouts/_partials/terms.html b/layouts/_partials/terms.html new file mode 100644 index 0000000..b666922 --- /dev/null +++ b/layouts/_partials/terms.html @@ -0,0 +1,29 @@ +{{- $page := .page }} + +{{- with $page.GetTerms "categories" }} +{{- if . }} +{{- $label := (index . 0).Parent.LinkTitle }} +
+

{{ i18n $label }}:

+ +
+{{- end }} +{{- end }} + +{{- with $page.GetTerms "tags" }} +{{- if . }} +{{- $label := (index . 0).Parent.LinkTitle }} +
+

{{ i18n $label }}:

+ +
+{{- end }} +{{- end }} \ No newline at end of file -- cgit v1.2.3