Utilisation du nom réel de la taxonomie quand il est disponible
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
{{- range $taxonomy, $_ := $ctx.Site.Taxonomies -}}
|
||||
{{- with $ctx.Page.GetTerms $taxonomy }}
|
||||
<section>
|
||||
<h2>{{ humanize $taxonomy }}</h2>
|
||||
{{- $taxonomyPage := $ctx.Site.GetPage "taxonomy" $taxonomy -}}
|
||||
<h2>{{ with $taxonomyPage }}{{ .Title }}{{ else }}{{ humanize $taxonomy }}{{ end }}</h2>
|
||||
{{- partial "keywords.html" . }}
|
||||
</section>
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user