diff --git a/_includes/head.html b/_includes/head.html index 915b5e3..6e603f4 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -58,5 +58,7 @@ {% if page.image.background or site.background %} - +{% capture background %}{% if page.image.background %}{{ page.image.background }}{% else %}{{ site.background }}{% endif %}{% endcapture %} +{% unless background contains 'http://' or background contains 'https://' %}{% capture background %}{{ site.url }}/images/{{ background }}{% endcapture %}{% endunless %} + {% endif %}