summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: 916be94fe33769092b633eff265b887614db3d6d (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
<section class="l-section l-section--fullscreen l-section--no-head">
    <div class="l-container l-container--pad-x l-container--pad-y l-container--content">
        <div class="s-body">
$body$
        </div>

        $for(pages.by_category)$
            <h2>
                $for(it.value/first)$
                    $it.category.name$
                $endfor$
            </h2>
            <ul>
                $for(it.value)$
                    <li>
                        <a href="$it.url.rel$">$it.title$</a>
                    </li>
                $endfor$
            </ul>
        $endfor$
    </div>
</section>