From fce8e1d3284eec6c87dc407957e632c5f3ee3b46 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sun, 1 Feb 2026 18:08:34 +0300 Subject: =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/neonxp/layouts/_partials/terms.html | 31 ++++++++++-------------------- 1 file changed, 10 insertions(+), 21 deletions(-) (limited to 'themes/neonxp/layouts/_partials') diff --git a/themes/neonxp/layouts/_partials/terms.html b/themes/neonxp/layouts/_partials/terms.html index f826abb..ec607ca 100644 --- a/themes/neonxp/layouts/_partials/terms.html +++ b/themes/neonxp/layouts/_partials/terms.html @@ -1,27 +1,16 @@ -{{- /* -For a given taxonomy, renders a list of terms assigned to the page. - -@context {page} page The current page. -@context {string} taxonomy The taxonomy. - -@example: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -*/}} - {{- $page := .page }} {{- $taxonomy := .taxonomy }} {{- with $page.GetTerms $taxonomy }} {{- if . }} -
- {{- $label := (index . 0).Parent.LinkTitle }} -
-

{{ $label }}:

- -
- {{- end }} -
+{{- $label := (index . 0).Parent.LinkTitle }} +
+

{{ i18n $label }}:

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