Honor HEADER_COVER in page.html, fixes #2
This commit is contained in:
parent
ea156f8f17
commit
3efbb41a3e
@ -7,6 +7,8 @@
|
|||||||
<header class="intro-header" style="background-image: url('{{ page.header_cover|default('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg') }}')">
|
<header class="intro-header" style="background-image: url('{{ page.header_cover|default('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg') }}')">
|
||||||
{% if page.header_cover %}
|
{% if page.header_cover %}
|
||||||
<header class="intro-header" style="background-image: url('{{ page.header_cover }}')">
|
<header class="intro-header" style="background-image: url('{{ page.header_cover }}')">
|
||||||
|
{% elif HEADER_COVER %}
|
||||||
|
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||||
{% else %}
|
{% else %}
|
||||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg')">
|
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg')">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user