mirror of
https://github.com/yrzam/yrzam-hugo-theme.git
synced 2025-12-10 01:39:05 +00:00
init
This commit is contained in:
12
layouts/partials/taxo_of_single.html
Normal file
12
layouts/partials/taxo_of_single.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- range $taxonomy, $_ := .Site.Taxonomies -}}
|
||||
{{- if $.GetTerms $taxonomy -}}
|
||||
<nav class="taxo-list">
|
||||
{{- with $.GetTerms $taxonomy -}}
|
||||
{{- range . -}}
|
||||
<a class="button" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</nav>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- /**/ -}}
|
||||
Reference in New Issue
Block a user