Fix title for pages without pageImage

main
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
1 changed files with 9 additions and 3 deletions

View File

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