From 44d3a27d6619b8bb734af5004df515e7781aba21 Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 21 May 2024 19:55:20 +0200 Subject: fix: urls and layout: --- themes/trek/layouts/partials/terms.html | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 themes/trek/layouts/partials/terms.html (limited to 'themes/trek/layouts/partials/terms.html') diff --git a/themes/trek/layouts/partials/terms.html b/themes/trek/layouts/partials/terms.html deleted file mode 100644 index 47cf6e4..0000000 --- a/themes/trek/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 taxonony. - -@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