summaryrefslogtreecommitdiffstats
path: root/templates/layouts/list.html
blob: 508ff4c8140016907466a92278fcbb8c847bfa29 (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
24
25
26
27
28
29
30
31
<main
    class="c-main l-container l-container--pad-x l-container--pad-y l-container--narrow-125 h-feed"
    itemprop="mainPart"
    itemscope
    itemtype="https://schema.org/DataFeed"
    itemid="$url.full$"
>
    <header class="s-colored-links">
        <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline">
            <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>
</main>