blog/layouts/partials/terms.html

10 lines
252 B
HTML
Raw Permalink Normal View History

{{- $page := .page }}
{{- $taxonomy := .taxonomy }}
{{- with $page.GetTerms $taxonomy }}
{{- $label := (index . 0).Parent.LinkTitle }}
{{- range . }}
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>&nbsp;
{{- end }}
{{- end }}