summaryrefslogtreecommitdiffstats
path: root/templates/layouts/list.html
blob: 105c7f5794b9dc500c4fc0b7fde892733e14778d (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
<main itemprop="mainPart" itemscope itemtype="https://schema.org/DataFeed" itemid="$url.full$">
    <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 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>
    </div>
</main>