2021-10-15 18:13:14 -05:00
|
|
|
{{ define "main" }}
|
2023-01-07 20:40:46 -06:00
|
|
|
<div class="post-title">
|
|
|
|
<h1>
|
|
|
|
{{ 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 }}
|
|
|
|
|
|
|
|
{{ .Title | markdownify }}
|
|
|
|
</h1>
|
|
|
|
</div>
|
2022-05-09 19:21:39 -05:00
|
|
|
|
2023-01-07 20:40:46 -06:00
|
|
|
{{ with .Content }}
|
|
|
|
{{ . }}
|
|
|
|
{{ end }}
|
2021-11-21 19:43:56 -06:00
|
|
|
|
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 }}
|