summaryrefslogtreecommitdiffstats
path: root/templates/layouts/categorized_list.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-16 18:29:18 +0100
committerVolpeon <git@volpeon.ink>2021-12-16 18:29:18 +0100
commit5f4cb1fd8b84e69092ac56a643b1618006f0442c (patch)
tree1d2388ad69091163da498334e2de5c94c4e74dc7 /templates/layouts/categorized_list.html
parentFix it for real (diff)
downloadvolpeon.ink-5f4cb1fd8b84e69092ac56a643b1618006f0442c.tar.gz
volpeon.ink-5f4cb1fd8b84e69092ac56a643b1618006f0442c.tar.bz2
volpeon.ink-5f4cb1fd8b84e69092ac56a643b1618006f0442c.zip
Add thumbnails to cards
Diffstat (limited to 'templates/layouts/categorized_list.html')
-rw-r--r--templates/layouts/categorized_list.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 73e75f3..7bbfd8c 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -8,7 +8,10 @@ $body$
8 $for(list)$ 8 $for(list)$
9 <section> 9 <section>
10 <h2 class="s-invisible-links"> 10 <h2 class="s-invisible-links">
11 <a href="$it.url.rel$">$it.title$</a> 11 <a href="$it.url.rel$">
12 $it.title$
13 $if(it.omitted)$→$endif$
14 </a>
12 </h2> 15 </h2>
13 $if(it.description)$ 16 $if(it.description)$
14 <div class="s-small s-colored-links">$it.description$</div> 17 <div class="s-small s-colored-links">$it.description$</div>
@@ -17,6 +20,10 @@ $body$
17 <div class="l-card-list__cards l-card-list__cards--grid"> 20 <div class="l-card-list__cards l-card-list__cards--grid">
18 $it.items:partials/grid_card()$ 21 $it.items:partials/grid_card()$
19 </div> 22 </div>
23 $elseif(it.layout.is_gallery)$
24 <div class="l-card-list__cards l-card-list__cards--gallery">
25 $it.items:partials/gallery_card()$
26 </div>
20 $else$ 27 $else$
21 <div class="l-card-list__cards"> 28 <div class="l-card-list__cards">
22 $it.items:partials/list_card()$ 29 $it.items:partials/list_card()$