Merge pull request #4 from atodorov/fix_issue_1
Honor HEADER_COVER in page.html, fixes #2
This commit is contained in:
commit
dd81fafa5f
@ -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