From 8f0a341644fb0d9575b5429ca6193609a4d12d02 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 21 Jan 2026 17:34:37 -0500 Subject: tags --- themes/aoidh/layouts/_partials/terms.html | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 themes/aoidh/layouts/_partials/terms.html (limited to 'themes/aoidh/layouts/_partials/terms.html') diff --git a/themes/aoidh/layouts/_partials/terms.html b/themes/aoidh/layouts/_partials/terms.html deleted file mode 100644 index 8a6ebec..0000000 --- a/themes/aoidh/layouts/_partials/terms.html +++ /dev/null @@ -1,23 +0,0 @@ -{{- /* -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 }} - {{- $label := (index . 0).Parent.LinkTitle }} -
-
{{ $label }}:
- -
-{{- end }} -- cgit v1.2.3