2019-09-01 08:32:49 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
<header>
|
2021-10-29 22:34:24 +02:00
|
|
|
<h2>{{.Title}}</h2>
|
2019-09-01 08:32:49 +02:00
|
|
|
</header>
|
2022-11-14 18:21:38 +01:00
|
|
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding
|
|
|
|
_index.md -->
|
2019-09-01 08:32:49 +02:00
|
|
|
{{.Content}}
|
|
|
|
<article class="terms">
|
2022-11-14 18:21:38 +01:00
|
|
|
<!-- Ranges throught categories, alphabetically, then displays the posts
|
|
|
|
title with the number of item in the category -->
|
2019-09-01 08:32:49 +02:00
|
|
|
{{ range .Data.Terms.Alphabetical }}
|
|
|
|
<article class="term">
|
2022-11-14 18:21:38 +01:00
|
|
|
<p>
|
|
|
|
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> ({{ .Count }})
|
|
|
|
</p>
|
2019-09-01 08:32:49 +02:00
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
|