summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
blob: 8cc5c24a16800f040d818a5ae5581df50e4da092 (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
<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-body">
        <h1><span class="s-body__title-inner">$title$</span></h1>

$body$

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