Fix TemplateSyntaxError in page.html jinja template

This commit is contained in:
Alen Komljen 2014-12-18 08:53:19 +01:00
parent 1d8d885baf
commit 88db4197ff

View File

@ -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 %}