summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-06-05 17:12:33 +0200
committerVolpeon <git@volpeon.ink>2021-06-05 17:12:33 +0200
commit385db81296bccf0c9e4341580d96e6a868f9d7f0 (patch)
treef8710c1d930f86be759e306bff5f274da49c026f /templates/layouts/categorized_list.html
parentImproved heading link size (diff)
downloadvolpeon.ink-385db81296bccf0c9e4341580d96e6a868f9d7f0.tar.gz
volpeon.ink-385db81296bccf0c9e4341580d96e6a868f9d7f0.tar.bz2
volpeon.ink-385db81296bccf0c9e4341580d96e6a868f9d7f0.zip
Some design fixes, page list metadata improvements
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r--templates/layouts/categorized_list.html28
1 files changed, 18 insertions, 10 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 6e72194..89bea78 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -7,18 +7,18 @@ $body$
7 </div> 7 </div>
8 8
9 <div class="c-post-list"> 9 <div class="c-post-list">
10 $for(pages.all)$ 10 $for(pages.asc_title)$
11 $if(it.pages)$ 11 $if(it.pages)$
12 <h2 class="c-post-list__category-header"> 12 <h2 class="c-post-list__category-header">
13 $it.title$ 13 $it.title$
14 </h2> 14 </h2>
15 <div class="c-post-list__category-content"> 15 <div class="c-post-list__category-content">
16 $for(it.pages.all)$ 16 $if(pages.asc_title.show_dates)$
17 <a href="$it.url.rel$" class="c-post-list__post c-card"> 17 $for(it.pages.desc_date)$
18 <div class="c-card__content"> 18 <a href="$it.url.rel$" class="c-post-list__post c-card">
19 $it.title$ 19 <div class="c-card__content">
20 </div> 20 $it.title$
21 $if(pages.all.show_dates)$ 21 </div>
22 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__content u-fs0"> 22 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__content u-fs0">
23 <small class="u-dn@sm-hi"> 23 <small class="u-dn@sm-hi">
24 $it.date.short$ 24 $it.date.short$
@@ -27,9 +27,17 @@ $body$
27 $it.date.long$ 27 $it.date.long$
28 </small> 28 </small>
29 </time> 29 </time>
30 $endif$ 30 </a>
31 </a> 31 $endfor$
32 $endfor$ 32 $else$
33 $for(it.pages.asc_title)$
34 <a href="$it.url.rel$" class="c-post-list__post c-card">
35 <div class="c-card__content">
36 $it.title$
37 </div>
38 </a>
39 $endfor$
40 $endif$
33 </div> 41 </div>
34 $endif$ 42 $endif$
35 $endfor$ 43 $endfor$