summaryrefslogtreecommitdiffstats
path: root/templates/list.html
blob: 4d62d47f9dc8008c7e1d4ddd4cd38faa1cf87adf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$body$

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

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