summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-16 18:56:23 +0100
committerVolpeon <git@volpeon.ink>2021-12-16 18:56:23 +0100
commit18f606d23d756e725c6b97f766a7dcbab4229375 (patch)
treeba828034c307f1595a63634f763eb6a467090eaf /templates
parentAdd thumbnails to cards (diff)
downloadvolpeon.ink-18f606d23d756e725c6b97f766a7dcbab4229375.tar.gz
volpeon.ink-18f606d23d756e725c6b97f766a7dcbab4229375.tar.bz2
volpeon.ink-18f606d23d756e725c6b97f766a7dcbab4229375.zip
Better indication if list items have been omitted
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/categorized_list.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 7bbfd8c..2f61f18 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -8,10 +8,7 @@ $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$"> 11 <a href="$it.url.rel$">$it.title$</a>
12 $it.title$
13 $if(it.omitted)$→$endif$
14 </a>
15 </h2> 12 </h2>
16 $if(it.description)$ 13 $if(it.description)$
17 <div class="s-small s-colored-links">$it.description$</div> 14 <div class="s-small s-colored-links">$it.description$</div>
@@ -29,6 +26,13 @@ $body$
29 $it.items:partials/list_card()$ 26 $it.items:partials/list_card()$
30 </div> 27 </div>
31 $endif$ 28 $endif$
29 $if(it.omitted)$
30 <div class="s-small s-invisible-links">
31 <p>
32 <a href="$it.url.rel$">$it.omitted$ more items →</a>
33 </p>
34 </div>
35 $endif$
32 </section> 36 </section>
33 $endfor$ 37 $endfor$
34</div> 38</div>