summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: 0e9142fd4cba297fa877c62adb2460c95906ad83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<section class="l-section l-section--no-head">
    <div class="l-container l-container--pad-x l-container--pad-y l-container--content">
$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>
</section>