From 5f4cb1fd8b84e69092ac56a643b1618006f0442c Mon Sep 17 00:00:00 2001 From: Volpeon <git@volpeon.ink> Date: Thu, 16 Dec 2021 18:29:18 +0100 Subject: Add thumbnails to cards --- templates/layouts/categorized_list.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'templates/layouts/categorized_list.html') 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$ $for(list)$ <section> <h2 class="s-invisible-links"> - <a href="$it.url.rel$">$it.title$</a> + <a href="$it.url.rel$"> + $it.title$ + $if(it.omitted)$→$endif$ + </a> </h2> $if(it.description)$ <div class="s-small s-colored-links">$it.description$</div> @@ -17,6 +20,10 @@ $body$ <div class="l-card-list__cards l-card-list__cards--grid"> $it.items:partials/grid_card()$ </div> + $elseif(it.layout.is_gallery)$ + <div class="l-card-list__cards l-card-list__cards--gallery"> + $it.items:partials/gallery_card()$ + </div> $else$ <div class="l-card-list__cards"> $it.items:partials/list_card()$ -- cgit v1.2.3-70-g09d2