summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: 8c25ec03c4bafbf7cd4dd14d78a7239db3ae33fd (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
<main>
    <div class="c-page s-page l-container l-container--content l-container--pad-x l-container--pad-y">
        <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>
    </div>
</main>