Merge pull request #69 from brightlingmeuk/master
Add SITEURL prepend to header cover images.
This commit is contained in:
commit
ecbf09f52d
@ -5,7 +5,7 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -89,9 +89,9 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if article.header_cover %}
|
||||
<header class="intro-header" style="background-image: url('{{ article.header_cover }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ article.header_cover }}')">
|
||||
{% elif HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -14,7 +14,7 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<!-- Page Header -->
|
||||
<!-- Set your background image for this header on the line below. -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -5,9 +5,9 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if page.header_cover %}
|
||||
<header class="intro-header" style="background-image: url('{{ page.header_cover }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ page.header_cover }}')">
|
||||
{% elif HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -2,7 +2,7 @@
|
||||
{% block title %}{{ SITENAME }} - Tag {{ tag }}{% endblock %}
|
||||
{% block header %}
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% block header %}
|
||||
<!-- Page Header -->
|
||||
{% if HEADER_COVER %}
|
||||
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
||||
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ HEADER_COVER }}')">
|
||||
{% elif HEADER_COLOR %}
|
||||
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user