From 001e5887bc7b8831dc1da4dbe42ee5cccf0225de Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Tue, 21 Apr 2026 20:46:33 +0300 Subject: 21.04.2026 --- themes/neonxp/layouts/_partials/terms.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 themes/neonxp/layouts/_partials/terms.html (limited to 'themes/neonxp/layouts/_partials/terms.html') diff --git a/themes/neonxp/layouts/_partials/terms.html b/themes/neonxp/layouts/_partials/terms.html new file mode 100644 index 0000000..b666922 --- /dev/null +++ b/themes/neonxp/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