summaryrefslogtreecommitdiffstats
path: root/templates/layouts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-12 10:20:41 +0200
committerVolpeon <git@volpeon.ink>2022-06-12 10:20:41 +0200
commit5f6712cfc4fd9e63bff6c935665b8426ef2ba2a4 (patch)
treee6b29d833a2840d577d9a6a4c21af36300d0a1e0 /templates/layouts
parentUpdate (diff)
downloadvolpeon.ink-5f6712cfc4fd9e63bff6c935665b8426ef2ba2a4.tar.gz
volpeon.ink-5f6712cfc4fd9e63bff6c935665b8426ef2ba2a4.tar.bz2
volpeon.ink-5f6712cfc4fd9e63bff6c935665b8426ef2ba2a4.zip
Optimized list generation
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/categorized_list.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 68decf6..e8466f7 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -19,7 +19,11 @@ $body$
19 <section> 19 <section>
20 <header class="l-card-list__header"> 20 <header class="l-card-list__header">
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 $if(it.url)$
23 <a href="$it.url.rel$">$it.title$</a>
24 $else$
25 $it.title$
26 $endif$
23 </h2> 27 </h2>
24 $if(it.description)$ 28 $if(it.description)$
25 <div class="s-small s-colored-links">$it.description$</div> 29 <div class="s-small s-colored-links">$it.description$</div>