diff --git a/opentech/templates/base.html b/opentech/templates/base.html index 5102206f85324206fc1fd4571fa747e35c21760c..c70f7b62ff648e17dc5eb2360c05fa1a1ec3e2ef 100644 --- a/opentech/templates/base.html +++ b/opentech/templates/base.html @@ -70,8 +70,8 @@ {% block header %} {% if page.header_image %} {% image page.header_image fill-2560x410 as header_image %} - {% elif page.get_parent.header_image %} - {% image page.get_parent.header_image fill-2560x410 as header_image %} + {% elif page.get_parent.specific.header_image %} + {% image page.get_parent.specific.header_image fill-2560x410 as header_image %} {% endif %} <header class="header header--standard {% if page.header_image %}header--has-bg-image{% endif %} {% block header_modifier %}{% endblock %}" {% if header_image %}style="background-image:url('{{ header_image.url }}')"{% endif %}>