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>
|
<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 %}
|
||||||
|
|
Loading…
Reference in a new issue