summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: 5e2d4a5a535d041327dc7ddfd2b4247220840702 (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
25
26
27
28
29
30
31
<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 s-colored-links">
        <div class="s-headlines s-body">
            <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>

$body$
        </div>

        $for(pages.by_category)$
            <h2 class="s-body__h3">
                $for(it.value/first/first)$
                    $it.category.name$
                $endfor$
            </h2>
            <ul>
                $for(it.value)$
                    <li>
                        $if(it.category.show_date)$
                            $it.date.yyyy_mm_dd$: 
                        $endif$
                        <a href="$it.url.rel$">
                            $it.title$
                        </a>
                    </li>
                $endfor$
            </ul>
        $endfor$
    </div>
</section>