From 7c655a95058aa753355251eb78b83d31d44972ab Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 23 Aug 2022 14:07:20 +0200 Subject: Better navigation of related content --- templates/partials/related.html | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'templates/partials/related.html') diff --git a/templates/partials/related.html b/templates/partials/related.html index 7d29c7a..3097866 100644 --- a/templates/partials/related.html +++ b/templates/partials/related.html @@ -16,24 +16,9 @@ $if(related)$ $if(related.layout.is_grid-2)$ $related.prev:partials/grid_card()$ $related.next:partials/grid_card()$ - $elseif(related.layout.is_grid-3)$ - $related.prev:partials/grid_card()$ - $related.next:partials/grid_card()$ - $elseif(related.layout.is_gallery-2)$ - $related.prev:partials/gallery_card()$ - $related.next:partials/gallery_card()$ - $elseif(related.layout.is_gallery-3)$ + $else$ $related.prev:partials/gallery_card()$ $related.next:partials/gallery_card()$ - $else$ -
- $related.prev:partials/list_card()$ - $related.next:partials/list_card()$ -
-
- $related.prev:partials/grid_card()$ - $related.next:partials/grid_card()$ -
$endif$ -- cgit v1.2.3-70-g09d2