From 54375572e11d23dacb20c5742d171af3072d7b9c Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Thu, 28 Nov 2024 00:46:17 +0300 Subject: Серьезная реновация MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/terms.html | 9 +++++++++ 1 file changed, 9 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..9802a11 --- /dev/null +++ b/layouts/partials/terms.html @@ -0,0 +1,9 @@ +{{- $page := .page }} +{{- $taxonomy := .taxonomy }} + +{{- with $page.GetTerms $taxonomy }} + {{- $label := (index . 0).Parent.LinkTitle }} + {{- range . }} + {{ .LinkTitle }}  + {{- end }} +{{- end }} -- cgit v1.2.3