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

$body$

        $for(pages.by_category)$
            <h2>
                <span class="s-body__title-inner">
                    $for(it.value/first/first)$
                        $it.category.name$
                    $endfor$
                </span>
            </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>