summaryrefslogtreecommitdiffstats
path: root/templates/layouts/dated_list.html
blob: 8c5de69eddfb4775c27b80278b4537542391d5ae (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
<main class="c-page s-page l-container l-container--content l-container--pad-v">
    <div class="c-page__content">
        <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$
    </div>
</main>