2021-10-15 18:13:14 -05:00
|
|
|
{{ define "main" }}
|
2021-11-21 19:43:56 -06:00
|
|
|
<h1>
|
2022-05-09 19:21:39 -05:00
|
|
|
{{ if eq .Data.Singular "tag" }}
|
|
|
|
{{ partial "icon.html" "tag" }}
|
|
|
|
{{ else if eq .Data.Singular "category" }}
|
|
|
|
{{ partial "icon.html" "folder" }}
|
|
|
|
{{ else }}
|
|
|
|
{{ partial "icon.html" "filter" }}
|
|
|
|
{{ end }}
|
|
|
|
|
2021-11-21 19:43:56 -06:00
|
|
|
{{ .Title | markdownify }}
|
|
|
|
</h1>
|
|
|
|
|
2022-05-09 19:21:39 -05:00
|
|
|
<div class="taxonomy-list">
|
2021-11-25 23:34:56 -06:00
|
|
|
{{ with .Data.Terms.Alphabetical }}
|
2022-05-21 23:20:22 -05:00
|
|
|
{{ range . }}
|
|
|
|
{{ with .Page }}
|
|
|
|
<article class="taxonomy-term">
|
|
|
|
<div class="taxonomy-list-left">
|
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
<p>{{ .Title | markdownify }}</p>
|
|
|
|
</a>
|
|
|
|
{{ partial "post-metadata/taxonomy.html" . }}
|
|
|
|
</div>
|
|
|
|
{{ partial "description-or-summary.html" . }}
|
|
|
|
</article>
|
2021-11-25 23:34:56 -06:00
|
|
|
{{ end }}
|
2022-05-21 23:20:22 -05:00
|
|
|
{{ end }}
|
2021-11-25 23:34:56 -06:00
|
|
|
{{ else }}
|
|
|
|
<div>
|
|
|
|
{{ i18n "no_posts" }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2021-11-21 19:43:56 -06:00
|
|
|
</div>
|
2021-10-15 18:13:14 -05:00
|
|
|
{{ end }}
|