From c7dfb84632bd41c1b37d4d94a34668ab330c2885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Tue, 12 Jul 2022 21:56:07 +0200 Subject: [PATCH] Hide 'About' when no text is provided --- ram/portal/templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ram/portal/templates/home.html b/ram/portal/templates/home.html index 2e94229..b19f0cd 100644 --- a/ram/portal/templates/home.html +++ b/ram/portal/templates/home.html @@ -2,7 +2,7 @@ {% load markdown %} {% block header %} -

About

+ {% if site_conf.about %}

About

{% endif %}

{{ site_conf.about | markdown | safe }}

{% endblock %}