summaryrefslogtreecommitdiffstats
path: root/templates/layouts/dated_list.html
blob: 0a279f0844288ec12d1ee752f4654e6fa92ba3dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<h1 class="c-page__prefixed c-page__prefixed--h1">$title$</h1>

$body$

$if(categories)$
    <ul class="c-hlist">
        $for(categories)$
            <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li>
        $endfor$
    </ul>
$endif$

$for(pages.by_year)$
    <ul>
        $for(it.value)$
            <li class="c-page__prefixed c-page__prefixed--ref">
                <a href="$it.url.rel$">$it.category.id/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a>
            </li>
        $endfor$
    </ul>
$endfor$