Zobrazení nadpisu jen v případě, že existuje obsah

master
Emil Miler 4 years ago
parent e42cea019d
commit 62a5c3ee07

@ -34,7 +34,9 @@
{% endblock %}
{% block content %}
<h1>{{ section.title }}</h1>
{% if section.content %}
<h1>{{ section.title }}</h1>
{% endif %}
{% if section.extra.group %}<div class="metadata"><strong>Cílová skupina &ndash;</strong> {{ section.extra.group }}</div>{% endif %}
{% if section.extra.time %}<div class="metadata"><strong>Časová dotace &ndash;</strong> {{ section.extra.time }}</div>{% endif %}
{% if section.extra.authors %}