summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: 6f06a63ff1091bc8c4e8646800f091c51f3038d7 (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
<header class="s-headlines s-colored-links">
    <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>

$body$
</header>

<div class="c-card-list">
    $for(list)$
        <section>
            <h2 class="c-card-list__title s-invisible-links">
                <a href="$it.url.rel$">$it.title$</a>
            </h2>
            $if(it.description)$
                <div class="c-card-list__text s-colored-links">$it.description$</div>
            $endif$
            $if(it.grid)$
                <div class="c-card-list__cards c-card-list__cards--grid">
                    $it.items:partials/grid_card()$
                </div>
            $else$
                <div class="c-card-list__cards">
                    $it.items:partials/list_card()$
                </div>
            $endif$
        </section>
    $endfor$
</div>