From 98ace013efc54621dc6a1d37fa723148778968f1 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Fri, 15 May 2020 11:40:13 +0200 Subject: [PATCH] Skip body section if blank --- publichealth/home/templates/home/home_page.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/publichealth/home/templates/home/home_page.html b/publichealth/home/templates/home/home_page.html index 7feef0f..3d6ec62 100644 --- a/publichealth/home/templates/home/home_page.html +++ b/publichealth/home/templates/home/home_page.html @@ -21,6 +21,7 @@ {% include 'news.html' %} +{% if page.trans_body %}
@@ -28,6 +29,7 @@
+{% endif %} {% include 'infos.html' %}