summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/layouts/_partials
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-21 17:34:37 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-21 17:34:37 -0500
commit8f0a341644fb0d9575b5429ca6193609a4d12d02 (patch)
treee968bb900ff92ebdeda8a7fa98287bd627c08fc9 /themes/aoidh/layouts/_partials
parent7e971e862a43361ec77c3b2c7a4345dd9e771784 (diff)
downloadsamanthony.xyz-8f0a341644fb0d9575b5429ca6193609a4d12d02.zip
tags
Diffstat (limited to 'themes/aoidh/layouts/_partials')
-rw-r--r--themes/aoidh/layouts/_partials/terms.html23
1 files changed, 0 insertions, 23 deletions
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 }}
- <div>
- <div>{{ $label }}:</div>
- <ul>
- {{- range . }}
- <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
- {{- end }}
- </ul>
- </div>
-{{- end }}