Hide 'About' when no text is provided

This commit is contained in:
2022-07-12 21:56:07 +02:00
parent 4e3a13162a
commit c7dfb84632

View File

@@ -2,7 +2,7 @@
{% load markdown %} {% load markdown %}
{% block header %} {% block header %}
<h1 class="fw-light">About</h1> {% if site_conf.about %}<h1 class="fw-light">About</h1>{% endif %}
<p class="lead text-muted">{{ site_conf.about | markdown | safe }}</p> <p class="lead text-muted">{{ site_conf.about | markdown | safe }}</p>
{% endblock %} {% endblock %}