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