summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: d213bb8bb4adf0bd1d88193184694bf0a09f8c10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<main class="c-page s-page l-container l-container--content l-container--pad-v">
    <div class="c-page__content">
        <h1 class="c-page__prefixed c-page__prefixed--h1">$title$</h1>
$body$

        $for(pages.by_category)$
            <h2 class="c-page__prefixed c-page__prefixed--h2">
                $for(it.value/first)$
                    $it.category.name$
                $endfor$
            </h2>
            <ul>
                $for(it.value)$
                    <li class="c-page__prefixed c-page__prefixed--ref">
                        <a href="$it.url.rel$">$it.title$</a>
                    </li>
                $endfor$
            </ul>
        $endfor$
    </div>
</main>