summaryrefslogtreecommitdiffstats
path: root/templates/layouts/dated_list.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-07 08:50:48 +0100
committerVolpeon <git@volpeon.ink>2021-01-07 08:50:48 +0100
commitad478954cf77842364d03e1d5ee85e366e699ee7 (patch)
tree90359dfec83694a758878b37510d9dca1493ef43 /templates/layouts/dated_list.html
parentImproved subpage organization code in metadata filter (diff)
downloadvolpeon.ink-ad478954cf77842364d03e1d5ee85e366e699ee7.tar.gz
volpeon.ink-ad478954cf77842364d03e1d5ee85e366e699ee7.tar.bz2
volpeon.ink-ad478954cf77842364d03e1d5ee85e366e699ee7.zip
Improved general structure, resolve category name in metadata filter, added hideable nav items, added header for page layout
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