Nouveau thème pour 2026
This commit is contained in:
25
themes/2026/layouts/taxonomies/taxonomies.html
Normal file
25
themes/2026/layouts/taxonomies/taxonomies.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{{ define "main" }}
|
||||
{{ partial "article-header.html" . }}
|
||||
<main>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
|
||||
<section>
|
||||
<header><h2>Taxonomies</h2></header>
|
||||
<ul>
|
||||
{{- range $taxonomy, $terms := .Site.Taxonomies -}}
|
||||
{{- with $.Site.GetPage $taxonomy -}}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<sub>{{ len $terms }}</sub>
|
||||
</li>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
{{ partial "article-footer.html" . }}
|
||||
</article>
|
||||
{{ partial "asides/toc.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user