Fix title for pages without pageImage

This commit is contained in:
Benjamin Bädorf 2021-10-12 23:08:18 +02:00
parent 574670fb9e
commit 23c871478e
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -38,9 +38,15 @@ article: null
<div id="skip-to-content" class="skip-to-content"></div> <div id="skip-to-content" class="skip-to-content"></div>
{% block header %} {% if pageImage %}
{% include "header.njk" %} {% block header %}
{% endblock %} {% include "header.njk" %}
{% endblock %}
{% endif %}
{% if not pageImage %}
<h1 class="page-title">{{ title | safe }}</h1>
{% endif %}
<main class="page-main"> <main class="page-main">
{% if article %} {% if article %}