summaryrefslogtreecommitdiff
path: root/layouts/_partials/term/term-fictions.html
blob: c0e5c6b21208ea6b4fa9203d1f73185dfe2b9995 (plain)
1
2
3
4
5
6
7
8
9
10
{{ $fictions := where .Pages "Section" "fiction" }}
{{ if gt (len $fictions) 0 }}
<h2>{{ T "termPage.fictions" }}</h2>
<ul id="term-fictions"
    class="animate-duration-100 ps-0 flex flex-col gap-2 list-none leading-relaxed">
    {{ range $fictions }}
        {{ .Render "view_postline" }}
    {{ end }}
</ul>
{{ end }}