summaryrefslogtreecommitdiffstats
path: root/templates/layouts/list.html
blob: ebbc2d44544e11bc0df9cd04ba77a24e585e6e44 (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
<div class="l-container l-container--pad-x l-container--pad-y l-container--narrow">      
    <header class="s-colored-links">
        <h1 class="o-heading o-heading--xxl u-mt-0"><span class="o-heading__primary">$title$</span></h1>

$body$
    </header>

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