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