diff options
Diffstat (limited to 'templates/layouts/dated_list.html')
-rw-r--r-- | templates/layouts/dated_list.html | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/templates/layouts/dated_list.html b/templates/layouts/dated_list.html index 0a279f0..8c5de69 100644 --- a/templates/layouts/dated_list.html +++ b/templates/layouts/dated_list.html | |||
@@ -1,22 +1,25 @@ | |||
1 | <h1 class="c-page__prefixed c-page__prefixed--h1">$title$</h1> | 1 | <main class="c-page s-page l-container l-container--content l-container--pad-v"> |
2 | 2 | <div class="c-page__content"> | |
3 | <h1 class="c-page__prefixed c-page__prefixed--h1">$title$</h1> | ||
3 | $body$ | 4 | $body$ |
4 | 5 | ||
5 | $if(categories)$ | 6 | $if(categories)$ |
6 | <ul class="c-hlist"> | 7 | <ul class="c-hlist"> |
7 | $for(categories)$ | 8 | $for(categories)$ |
8 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li> | 9 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li> |
9 | $endfor$ | 10 | $endfor$ |
10 | </ul> | 11 | </ul> |
11 | $endif$ | 12 | $endif$ |
12 | 13 | ||
13 | $for(pages.by_year)$ | 14 | $for(pages.by_year)$ |
14 | <ul> | 15 | <ul> |
15 | $for(it.value)$ | 16 | $for(it.value)$ |
16 | <li class="c-page__prefixed c-page__prefixed--ref"> | 17 | <li class="c-page__prefixed c-page__prefixed--ref"> |
17 | <a href="$it.url.rel$">$it.category.id/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a> | 18 | <a href="$it.url.rel$">$it.category.id/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a> |
18 | </li> | 19 | </li> |
20 | $endfor$ | ||
21 | </ul> | ||
19 | $endfor$ | 22 | $endfor$ |
20 | </ul> | 23 | </div> |
21 | $endfor$ | 24 | </main> |
22 | 25 | ||