From 68dc5757b3a395ba89dfcc81103a5fbd31f03b2c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 12 Jun 2022 13:18:46 +0200 Subject: Better list layouts, added 'random' link for Fediring --- templates/layouts/categorized_list.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'templates/layouts/categorized_list.html') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index e8466f7..3fabd16 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -30,11 +30,13 @@ $body$ $endif$
- $if(it.layout.is_grid)$ + $if(it.layout.is_grid-2)$ $it.items:partials/grid_card()$ - $elseif(it.layout.is_small-gallery)$ - $it.items:partials/small_gallery_card()$ - $elseif(it.layout.is_gallery)$ + $elseif(it.layout.is_grid-3)$ + $it.items:partials/grid_card()$ + $elseif(it.layout.is_gallery-2)$ + $it.items:partials/gallery_card()$ + $elseif(it.layout.is_gallery-3)$ $it.items:partials/gallery_card()$ $else$ $it.items:partials/list_card()$ -- cgit v1.2.3-70-g09d2