Fix title for pages without pageImage
This commit is contained in:
parent
574670fb9e
commit
23c871478e
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue