summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-12 08:46:20 +0200
committerVolpeon <git@volpeon.ink>2022-06-12 08:46:20 +0200
commit7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf (patch)
tree930d76a4a45baea8ec4f51fbe7122f32a3a45076 /templates/layouts/categorized_list.html
parentUpdate (diff)
downloadvolpeon.ink-7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf.tar.gz
volpeon.ink-7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf.tar.bz2
volpeon.ink-7ae014f7e8e6b9e28cc9b8d08aaeb96cb3a2c2bf.zip
Update
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r--templates/layouts/categorized_list.html29
1 files changed, 15 insertions, 14 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 52e0d88..68decf6 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -7,6 +7,7 @@ $body$
7 7
8 $if(notoc)$$else$ 8 $if(notoc)$$else$
9 <nav class="c-hnav s-invisible-links"> 9 <nav class="c-hnav s-invisible-links">
10 <h2 class="u-mt-0">Jump to</h2>
10 $for(list)$ 11 $for(list)$
11 <a class="c-hnav__item" href="#$it.slug$">$it.title$</a> 12 <a class="c-hnav__item" href="#$it.slug$">$it.title$</a>
12 $endfor$ 13 $endfor$
@@ -16,21 +17,14 @@ $body$
16 <div class="l-card-list"> 17 <div class="l-card-list">
17 $for(list)$ 18 $for(list)$
18 <section> 19 <section>
19 <header class="l-card-list__header l-media l-media--flush"> 20 <header class="l-card-list__header">
20 <div class="l-media__block l-media__block--main"> 21 <h2 class="s-invisible-links u-mt-0" id="$it.slug$">
21 <h2 class="s-invisible-links u-mt-0" id="$it.slug$"> 22 <a href="$it.url.rel$">$it.title$</a>
22 <a href="$it.url.rel$">$it.title$</a> 23 </h2>
23 </h2> 24 $if(it.description)$
24 </div> 25 <div class="s-small s-colored-links">$it.description$</div>
25 $if(it.omitted)$ 26 $endif$
26 <a class="l-media__block o-badge u-mt-auto" href="$it.url.rel$">
27 $it.omitted$ more items <span class="u-ml-10">→</span>
28 </a>
29 $endif$
30 </header> 27 </header>
31 $if(it.description)$
32 <div class="s-small s-colored-links">$it.description$</div>
33 $endif$
34 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$"> 28 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$">
35 $if(it.layout.is_grid)$ 29 $if(it.layout.is_grid)$
36 $it.items:partials/grid_card()$ 30 $it.items:partials/grid_card()$
@@ -42,6 +36,13 @@ $body$
42 $it.items:partials/list_card()$ 36 $it.items:partials/list_card()$
43 $endif$ 37 $endif$
44 </div> 38 </div>
39 $if(it.omitted)$
40 <footer class="l-card-list__footer">
41 <a class="l-media__block o-badge" href="$it.url.rel$">
42 $it.omitted$ more items <span class="u-ml-10">→</span>
43 </a>
44 </footer>
45 $endif$
45 </section> 46 </section>
46 $endfor$ 47 $endfor$
47 </div> 48 </div>