From 4a13dd4156d6468cbfd5139cdf12410bc9c3b07d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Dec 2021 12:19:50 +0100 Subject: Support generic list layouts --- templates/layouts/categorized_list.html | 2 +- templates/layouts/list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 7d53cbe..73e75f3 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -13,7 +13,7 @@ $body$ $if(it.description)$ $endif$ - $if(it.grid)$ + $if(it.layout.is_grid)$
$it.items:partials/grid_card()$
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index f3e5768..32aa35a 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -5,7 +5,7 @@ $body$
- $if(list_grid)$ + $if(list_layout.is_grid)$
$list:partials/grid_card()$
-- cgit v1.2.3-70-g09d2