summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: 2a37c9cf3a8f9b270cb29ec940ae60dafe9c435d (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$

            $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>
    </div>
</section>