Fix header cover again

This commit is contained in:
gilsondev 2014-12-10 15:43:49 -02:00
parent b574e28275
commit ac5536b718

View File

@ -3,7 +3,12 @@
{% block header %}
<!-- Page Header -->
<!-- Set your background image for this header on the line below. -->
<header class="intro-header" style="background-image: url('{{ HEADER_COVER|default(SITEURL/THEME_STATIC_DIR/images/home-bg.jpg) }}')">
{% if HEADER_COVER %}
<header class="intro-header" style="background-image: url('{{ HEADER_COVER}}')">
{% else %}
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg')">
{% endif %}
<header class="intro-header" style="background-image: url('{{ HEADER_COVER}}')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">