Fix header cover again
This commit is contained in:
parent
11e175851a
commit
98a5545d8e
@ -4,7 +4,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<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 %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
|
@ -4,7 +4,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<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 %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
|
@ -4,7 +4,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<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 %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
|
@ -4,7 +4,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<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 %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
|
@ -4,7 +4,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<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 %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
|
@ -29,12 +29,12 @@
|
||||
<h2 class="post-title">
|
||||
{{ article.title }}
|
||||
</h2>
|
||||
{% if article.summary %}
|
||||
<h3 class="post-subtitle">
|
||||
{{ article.summary }}
|
||||
</h3>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% if article.summary %}
|
||||
<h3 class="post-subtitle">
|
||||
{{ article.summary }}
|
||||
</h3>
|
||||
{% endif %}
|
||||
<p class="post-meta">Posted by
|
||||
{% for author in article.authors %}
|
||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
|
||||
|
@ -5,6 +5,11 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<header class="intro-header" style="background-image: url('{{ page.header_cover|default({{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg') }})">
|
||||
{% if page.header_cover %}
|
||||
<header class="intro-header" style="background-image: url('{{ page.header_cover }}')">
|
||||
{% else %}
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-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">
|
||||
|
@ -4,7 +4,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<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 %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
|
@ -4,7 +4,11 @@
|
||||
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
<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 %}
|
||||
<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