summaryrefslogtreecommitdiffstats
path: root/templates/layouts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-20 18:39:28 +0100
committerVolpeon <git@volpeon.ink>2021-11-20 18:39:28 +0100
commit08843807299c0c23f2125eb1fd6947d1ea03fcba (patch)
treec1885b89b9297667b63e63d16439f61ed162388d /templates/layouts
parentImproved font size again (diff)
downloadvolpeon.ink-08843807299c0c23f2125eb1fd6947d1ea03fcba.tar.gz
volpeon.ink-08843807299c0c23f2125eb1fd6947d1ea03fcba.tar.bz2
volpeon.ink-08843807299c0c23f2125eb1fd6947d1ea03fcba.zip
Improved list structure
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/categorized_list.html21
1 files changed, 8 insertions, 13 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 690ab68..6f06a63 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -7,23 +7,18 @@ $body$
7<div class="c-card-list"> 7<div class="c-card-list">
8 $for(list)$ 8 $for(list)$
9 <section> 9 <section>
10 <header class="c-card-list__category-header"> 10 <h2 class="c-card-list__title s-invisible-links">
11 <div> 11 <a href="$it.url.rel$">$it.title$</a>
12 <h2 class="c-card-list__category-title"> 12 </h2>
13 <a href="$it.url.rel$">$it.title$</a> 13 $if(it.description)$
14 </h2> 14 <div class="c-card-list__text s-colored-links">$it.description$</div>
15 $if(it.omitted)$<small>$it.omitted$ more</small>$endif$ 15 $endif$
16 </div>
17 $if(it.description)$
18 <small class="c-card-list__category-description">$it.description$</small>
19 $endif$
20 </header>
21 $if(it.grid)$ 16 $if(it.grid)$
22 <div class="c-card-list__category-content c-card-list__category-content--grid"> 17 <div class="c-card-list__cards c-card-list__cards--grid">
23 $it.items:partials/grid_card()$ 18 $it.items:partials/grid_card()$
24 </div> 19 </div>
25 $else$ 20 $else$
26 <div class="c-card-list__category-content"> 21 <div class="c-card-list__cards">
27 $it.items:partials/list_card()$ 22 $it.items:partials/list_card()$
28 </div> 23 </div>
29 $endif$ 24 $endif$