summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-11 16:26:47 +0200
committerVolpeon <git@volpeon.ink>2022-06-11 16:26:47 +0200
commit604dcfe244ab8f6913db9dec3de5796ad32f43f5 (patch)
treefc56d5965f3e263937efd3d42196afe1359299cb /templates/layouts/categorized_list.html
parentRe-implemented design via iro-design (diff)
downloadvolpeon.ink-604dcfe244ab8f6913db9dec3de5796ad32f43f5.tar.gz
volpeon.ink-604dcfe244ab8f6913db9dec3de5796ad32f43f5.tar.bz2
volpeon.ink-604dcfe244ab8f6913db9dec3de5796ad32f43f5.zip
Removed private section, various improvements
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r--templates/layouts/categorized_list.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 7f94ff4..8217fd9 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -3,12 +3,10 @@
3 <h1 class="o-heading o-heading--xxl u-mt-0"><span class="o-heading__primary">$title$</span></h1> 3 <h1 class="o-heading o-heading--xxl u-mt-0"><span class="o-heading__primary">$title$</span></h1>
4 4
5$body$ 5$body$
6
7 </header> 6 </header>
8 7
9 $if(notoc)$$else$ 8 $if(notoc)$$else$
10 <nav class="c-hnav s-invisible-links"> 9 <nav class="c-hnav s-invisible-links">
11 $-- <h2 class="u-mt-0">Sections:</h2>
12 $for(list)$ 10 $for(list)$
13 <small><a href="#$it.slug$">$it.title$</a></small> 11 <small><a href="#$it.slug$">$it.title$</a></small>
14 $endfor$ 12 $endfor$
@@ -18,9 +16,9 @@ $body$
18 <div class="l-card-list"> 16 <div class="l-card-list">
19 $for(list)$ 17 $for(list)$
20 <section> 18 <section>
21 <div class="l-media l-media--flush"> 19 <header class="l-card-list__header l-media l-media--flush">
22 <div class="l-media__block l-media__block--main"> 20 <div class="l-media__block l-media__block--main">
23 <h2 class="s-invisible-links" id="$it.slug$"> 21 <h2 class="s-invisible-links u-mt-0" id="$it.slug$">
24 <a href="$it.url.rel$">$it.title$</a> 22 <a href="$it.url.rel$">$it.title$</a>
25 </h2> 23 </h2>
26 </div> 24 </div>
@@ -29,13 +27,15 @@ $body$
29 $it.omitted$ more items <span class="u-ml-10">→</span> 27 $it.omitted$ more items <span class="u-ml-10">→</span>
30 </a> 28 </a>
31 $endif$ 29 $endif$
32 </div> 30 </header>
33 $if(it.description)$ 31 $if(it.description)$
34 <div class="s-small s-colored-links">$it.description$</div> 32 <div class="s-small s-colored-links">$it.description$</div>
35 $endif$ 33 $endif$
36 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$"> 34 <div class="l-card-list__cards l-card-list__cards--$it.layout.id$">
37 $if(it.layout.is_grid)$ 35 $if(it.layout.is_grid)$
38 $it.items:partials/grid_card()$ 36 $it.items:partials/grid_card()$
37 $elseif(it.layout.is_small-gallery)$
38 $it.items:partials/small_gallery_card()$
39 $elseif(it.layout.is_gallery)$ 39 $elseif(it.layout.is_gallery)$
40 $it.items:partials/gallery_card()$ 40 $it.items:partials/gallery_card()$
41 $else$ 41 $else$