summaryrefslogtreecommitdiffstats
path: root/templates/layouts/dated_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts/dated_list.html')
-rw-r--r--templates/layouts/dated_list.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/layouts/dated_list.html b/templates/layouts/dated_list.html
new file mode 100644
index 0000000..0a279f0
--- /dev/null
+++ b/templates/layouts/dated_list.html
@@ -0,0 +1,22 @@
1<h1 class="c-page__prefixed c-page__prefixed--h1">$title$</h1>
2
3$body$
4
5$if(categories)$
6 <ul class="c-hlist">
7 $for(categories)$
8 <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li>
9 $endfor$
10 </ul>
11$endif$
12
13$for(pages.by_year)$
14 <ul>
15 $for(it.value)$
16 <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 </li>
19 $endfor$
20 </ul>
21$endfor$
22