From 286a598c77ea4ef77789310f07a1d8c404bc4071 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 13 May 2023 17:45:22 +0100 Subject: [PATCH] Fix empty descriptions being added --- app/templates/base.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 4ea3c0a8..c0d540ca 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -5,19 +5,23 @@ {{ self.title() | normalize_whitespace }} - {{ config.USER_APP_NAME }} - - - - {% if noindex -%} - - {%- endif %} - {% if self.description -%} + + {% if self.description and self.description != "" -%} + + + + + + {% if noindex -%} + + {%- endif %} + {%- endif %} {% block headextra %}{% endblock %}