summaryrefslogtreecommitdiffstats
path: root/templates/layouts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-11 20:43:53 +0200
committerVolpeon <git@volpeon.ink>2021-05-11 20:43:53 +0200
commit6c20e2fd01856072cae3df727a4ef88314bffe28 (patch)
treecff2fed5663cea6d3697ab12078db3be43ebb822 /templates/layouts
parentMinor improvements in metadata processing script (diff)
downloadvolpeon.ink-6c20e2fd01856072cae3df727a4ef88314bffe28.tar.gz
volpeon.ink-6c20e2fd01856072cae3df727a4ef88314bffe28.tar.bz2
volpeon.ink-6c20e2fd01856072cae3df727a4ef88314bffe28.zip
Simplified metadata processing, improved design
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/categorized_list.html35
1 files changed, 18 insertions, 17 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 5e2d4a5..0b445ee 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -1,30 +1,31 @@
1<section class="l-section l-section--fullscreen l-section--no-head"> 1<section class="l-section l-section--fullscreen l-section--no-head">
2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-colored-links"> 2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-colored-links">
3 <div class="s-headlines s-body"> 3 <div class="s-headlines">
4 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> 4 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>
5 5
6$body$ 6$body$
7 </div> 7 </div>
8 8
9 $for(pages.by_category)$ 9 <div class="c-post-list">
10 <h2 class="s-body__h3"> 10 $for(pages.by_category)$
11 $for(it.value/first/first)$ 11 <h2 class="c-post-list__category-header">
12 $it.category.name$ 12 $it.name$
13 $endfor$ 13 </h2>
14 </h2> 14 $for(it.pages)$
15 <ul> 15 <div class="c-post-list__post">
16 $for(it.value)$ 16 <a href="$it.url.rel$" class="c-post-list__post-title">
17 <li>
18 $if(it.category.show_date)$
19 $it.date.yyyy_mm_dd$:
20 $endif$
21 <a href="$it.url.rel$">
22 $it.title$ 17 $it.title$
23 </a> 18 </a>
24 </li> 19
20 $if(it.category.show_date)$
21 <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date">
22 $it.date.long$
23 </time>
24 $endif$
25 </div>
25 $endfor$ 26 $endfor$
26 </ul> 27 $endfor$
27 $endfor$ 28 </div>
28 </div> 29 </div>
29</section> 30</section>
30 31