Fix header cover again
This commit is contained in:
parent
ac5536b718
commit
11e175851a
@ -19,7 +19,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<header class="intro-header" style="background-image: url('{{ article.header_cover|default('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/post-bg.jpg') }}')">
|
||||
{% if article.header_cover %}
|
||||
<header class="intro-header" style="background-image: url('{{ article.header_cover }}')">
|
||||
{% else %}
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/post-bg.jpg')">
|
||||
{% endif %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
|
@ -8,7 +8,6 @@
|
||||
{% 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">
|
||||
|
Loading…
Reference in New Issue
Block a user