From f59f6bf8df96f1f5a634faaa9a98ff2e447000f2 Mon Sep 17 00:00:00 2001 From: DKFN Date: Sat, 5 Oct 2019 22:38:47 +0200 Subject: [PATCH] zulma title not mandatory in section --- templates/section.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/section.html b/templates/section.html index d160224..8e5cdc4 100644 --- a/templates/section.html +++ b/templates/section.html @@ -9,7 +9,11 @@ {% endblock header %}
- {{ index_macros::hero(title=section.extra.zulma_title, primary=true) }} + + {% if section.section.extra.zulma_title %} + {{ index_macros::hero(title=section.extra.zulma_title, primary=true) }} + {% endif %} +