summaryrefslogtreecommitdiff
path: root/layouts/_partials/term/term-cards.html
blob: f9cd4c1aac24184c0c98f21c96f93c175072c42c (plain)
1
2
3
4
5
6
7
8
9
10
11
{{ $cards := where .Pages "Section" "eq" "cards" }}
{{ if gt (len $cards) 0 }}
<h2>{{ T "termPage.cards" }}</h2>
<div class="outbox small">
    <div class="grid grid-cols-2 gap-4">
        {{ range $cards }}
        {{ partial "items/card" (dict "context" . "summary" true) }}
        {{ end }}
    </div>
</div>
{{ end }}