Fix TemplateSyntaxError in page.html jinja template
This commit is contained in:
parent
1d8d885baf
commit
88db4197ff
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<!-- Page Header -->
|
<!-- Page Header -->
|
||||||
<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 }}')">
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user