summaryrefslogtreecommitdiffstats
path: root/templates/layouts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-26 08:54:19 +0200
committerVolpeon <git@volpeon.ink>2021-05-26 08:54:19 +0200
commite3240a57eef6bf0afa193ae83ecd8c5cf627c72f (patch)
treef25393ecfb6f06de92715dc95aa1d0aeb74c4d30 /templates/layouts
parentHide some profiles from home page (diff)
downloadvolpeon.ink-e3240a57eef6bf0afa193ae83ecd8c5cf627c72f.tar.gz
volpeon.ink-e3240a57eef6bf0afa193ae83ecd8c5cf627c72f.tar.bz2
volpeon.ink-e3240a57eef6bf0afa193ae83ecd8c5cf627c72f.zip
Category list improvements, generate ATOM feeds
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/categorized_list.html46
1 files changed, 24 insertions, 22 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 8f39229..6e72194 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -8,28 +8,30 @@ $body$
8 8
9 <div class="c-post-list"> 9 <div class="c-post-list">
10 $for(pages.all)$ 10 $for(pages.all)$
11 <h2 class="c-post-list__category-header"> 11 $if(it.pages)$
12 $it.title$ 12 <h2 class="c-post-list__category-header">
13 </h2> 13 $it.title$
14 <div class="c-post-list__category-content"> 14 </h2>
15 $for(it.pages.all)$ 15 <div class="c-post-list__category-content">
16 <a href="$it.url.rel$" class="c-post-list__post c-card"> 16 $for(it.pages.all)$
17 <div class="c-card__content"> 17 <a href="$it.url.rel$" class="c-post-list__post c-card">
18 $it.title$ 18 <div class="c-card__content">
19 </div> 19 $it.title$
20 $if(pages.all.show_dates)$ 20 </div>
21 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__content u-fs0"> 21 $if(pages.all.show_dates)$
22 <small class="u-dn@sm-hi"> 22 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__content u-fs0">
23 $it.date.short$ 23 <small class="u-dn@sm-hi">
24 </small> 24 $it.date.short$
25 <small class="u-dn@sm-lo"> 25 </small>
26 $it.date.long$ 26 <small class="u-dn@sm-lo">
27 </small> 27 $it.date.long$
28 </time> 28 </small>
29 $endif$ 29 </time>
30 </a> 30 $endif$
31 $endfor$ 31 </a>
32 </div> 32 $endfor$
33 </div>
34 $endif$
33 $endfor$ 35 $endfor$
34 </div> 36 </div>
35 </div> 37 </div>