summaryrefslogtreecommitdiffstats
path: root/templates/layouts/list.html
blob: 9c6b26e380b811124a4738977586da2565b29aa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<header class="s-headlines s-colored-links">
    <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>

$body$
</header>

<div class="l-card-list">
    $if(list_layout.is_grid)$
        <div class="l-card-list__cards l-card-list__cards--grid">
            $list:partials/grid_card()$
        </div>
    $elseif(list_layout.is_gallery)$
        <div class="l-card-list__cards l-card-list__cards--gallery">
            $list:partials/gallery_card()$
        </div>
    $else$
        <div class="l-card-list__cards">
            $list:partials/list_card()$
        </div>
    $endif$
</div>