summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-12 20:39:46 +0100
committerVolpeon <git@volpeon.ink>2021-11-12 20:39:46 +0100
commit9763ea03164f983d77051a84609dcae80885b1c0 (patch)
tree0d667634827c533fc1bb880c8e910e61581156e8 /templates/layouts/categorized_list.html
parentAdd focus to header (diff)
downloadvolpeon.ink-9763ea03164f983d77051a84609dcae80885b1c0.tar.gz
volpeon.ink-9763ea03164f983d77051a84609dcae80885b1c0.tar.bz2
volpeon.ink-9763ea03164f983d77051a84609dcae80885b1c0.zip
Improved page
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r--templates/layouts/categorized_list.html54
1 files changed, 19 insertions, 35 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index fa0f000..f8c3fab 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -6,26 +6,26 @@ $body$
6 </div> 6 </div>
7 7
8 <div class="c-card-list"> 8 <div class="c-card-list">
9 $for(pages.asc_title)$ 9 $for(pages.all)$
10 $if(it.pages)$ 10 $if(it.pages)$
11 <h2 class="c-card-list__category-header"> 11 <h2 class="c-card-list__category-header">
12 <a href="$it.url.rel$">$it.title$</a> 12 <a href="$it.url.rel$">$it.title$</a>
13 </h2> 13 </h2>
14 <div class="c-card-list__category-content$if(pages.asc_title.list_grid)$ c-card-list__category-content--grid$endif$"> 14 <div class="c-card-list__category-content$if(it.list_grid)$ c-card-list__category-content--grid$endif$">
15 $if(pages.asc_title.show_dates)$ 15 $for(it.pages.all)$
16 $for(it.pages.desc_date)$ 16 <a href="$it.url.rel$" class="c-card-list__card c-card">
17 <a href="$it.url.rel$" class="c-card-list__card c-card"> 17 $if(pages.all.show_read_indicators)$
18 $if(pages.asc_title.show_read_indicators)$ 18 <div class="c-card__block c-card__block--indicator"></div>
19 <div class="c-card__block c-card__block--indicator"></div> 19 $endif$
20 $endif$ 20 $if(pages.all.icon)$
21 $if(pages.asc_title.icon)$ 21 <svg class="c-card__block o-icon" width="1em" height="1em">
22 <svg class="c-card__block o-icon"> 22 <use href="/symbols.svg#icon-$pages.all.icon$"></use>
23 <use href="/symbols.svg#icon-$pages.asc_title.icon$"></use> 23 </svg>
24 </svg> 24 $endif$
25 $endif$ 25 <div class="c-card__block c-card__block--main">
26 <div class="c-card__block c-card__block--main"> 26 $it.title$
27 $it.title$ 27 </div>
28 </div> 28 $if(it.date)$
29 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0"> 29 <time datetime="$it.date.yyyy_mm_dd$" class="c-card__block u-fs0">
30 <small class="u-dn@sm-hi"> 30 <small class="u-dn@sm-hi">
31 $it.date.short$ 31 $it.date.short$
@@ -34,25 +34,9 @@ $body$
34 $it.date.long$ 34 $it.date.long$
35 </small> 35 </small>
36 </time> 36 </time>
37 </a> 37 $endif$
38 $endfor$ 38 </a>
39 $else$ 39 $endfor$
40 $for(it.pages.asc_title)$
41 <a href="$it.url.rel$" class="c-card-list__card c-card">
42 $if(pages.asc_title.show_read_indicators)$
43 <div class="c-card__block c-card__block--indicator"></div>
44 $endif$
45 $if(pages.asc_title.icon)$
46 <svg class="c-card__block o-icon">
47 <use href="/symbols.svg#icon-$pages.asc_title.icon$"></use>
48 </svg>
49 $endif$
50 <div class="c-card__block c-card__block--main">
51 $it.title$
52 </div>
53 </a>
54 $endfor$
55 $endif$
56 </div> 40 </div>
57 $endif$ 41 $endif$
58 $endfor$ 42 $endfor$