From ad3f1ae0e484ed962ed2de6fe32bfea8608cde16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hlav=C3=A1=C4=8Dek?= Date: Mon, 16 Sep 2024 22:41:04 +0200 Subject: [PATCH] Use category cover --- templates/catalog/_partials/category-header.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/catalog/_partials/category-header.tpl b/templates/catalog/_partials/category-header.tpl index b45d2082c..457d2ad8b 100644 --- a/templates/catalog/_partials/category-header.tpl +++ b/templates/catalog/_partials/category-header.tpl @@ -9,14 +9,14 @@ {if $category.description}
{$category.description nofilter}
{/if} - {if !empty($category.image.large.url)} + {if !empty($category.cover.large.url)}
- {if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if} + width="{$category.cover.large.width}" + height="{$category.cover.large.height}">
{/if}