Merge pull request #69 from brightlingmeuk/master

Add SITEURL prepend to header cover images.
This commit is contained in:
Gilson Filho 2018-02-14 12:32:16 -02:00 committed by GitHub
commit ecbf09f52d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 13 additions and 13 deletions

View File

@ -5,7 +5,7 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -89,9 +89,9 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if article.header_cover %} {% 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 %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -14,7 +14,7 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -5,7 +5,7 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -5,7 +5,7 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -5,7 +5,7 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -4,7 +4,7 @@
<!-- Page Header --> <!-- Page Header -->
<!-- Set your background image for this header on the line below. --> <!-- Set your background image for this header on the line below. -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -5,9 +5,9 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% 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('{{ SITEURL }}/{{ page.header_cover }}')">
{% elif 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -5,7 +5,7 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -2,7 +2,7 @@
{% block title %}{{ SITENAME }} - Tag {{ tag }}{% endblock %} {% block title %}{{ SITENAME }} - Tag {{ tag }}{% endblock %}
{% block header %} {% block header %}
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}

View File

@ -5,7 +5,7 @@
{% block header %} {% block header %}
<!-- Page Header --> <!-- Page Header -->
{% if HEADER_COVER %} {% 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 %} {% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}"> <header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
{% else %} {% else %}