summaryrefslogtreecommitdiff
path: root/themes/kvog/layouts/_partials/terms.html
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-06-29 23:15:12 -0500
committerHunter Kvalevog <hunter@kvog.sh>2026-06-29 23:15:12 -0500
commita51c9890d2b9720297c72b646c894a11474e8532 (patch)
treeceb680b4ec84e07c04266bcf7bc90b6b5caa1036 /themes/kvog/layouts/_partials/terms.html
parent531c82359c93f81e40ec2aa6d77b8e0dbd8d4c9e (diff)
Diffstat (limited to 'themes/kvog/layouts/_partials/terms.html')
-rw-r--r--themes/kvog/layouts/_partials/terms.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/themes/kvog/layouts/_partials/terms.html b/themes/kvog/layouts/_partials/terms.html
deleted file mode 100644
index 8a6ebec..0000000
--- a/themes/kvog/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 }}
- <div>
- <div>{{ $label }}:</div>
- <ul>
- {{- range . }}
- <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
- {{- end }}
- </ul>
- </div>
-{{- end }}