Nouveau thème pour 2026
This commit is contained in:
14
themes/2026/layouts/_partials/terms.html
Normal file
14
themes/2026/layouts/_partials/terms.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{- $page := .page -}}
|
||||
{{- $taxonomy := .taxonomy -}}
|
||||
|
||||
{{- with $page.GetTerms $taxonomy -}}
|
||||
{{- $label := (index . 0).Parent.LinkTitle -}}
|
||||
<section>
|
||||
<h3>{{ $label }}</h3>
|
||||
<ul>
|
||||
{{- range . -}}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</section>
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user