diff options
author | Volpeon <git@volpeon.ink> | 2021-12-16 18:56:23 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-12-16 18:56:23 +0100 |
commit | 18f606d23d756e725c6b97f766a7dcbab4229375 (patch) | |
tree | ba828034c307f1595a63634f763eb6a467090eaf /templates/layouts/categorized_list.html | |
parent | Add thumbnails to cards (diff) | |
download | volpeon.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/layouts/categorized_list.html')
-rw-r--r-- | templates/layouts/categorized_list.html | 12 |
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> |