diff --git a/_includes/head.html b/_includes/head.html index bb238e4..767c2df 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -56,3 +56,11 @@ + + +{% if page.background %} + {% capture page_bgimg %}{% if page.background contains 'http' %}{{ page.background }}{% else %}{{ site.url }}{{ page.background }}{% endif %}{% endcapture %} +{% elsif site.background %} + {% capture page_bgimg %}{% if site.background contains 'http' %}{{ site.background }}{% else %}{{ site.url }}{{ site.background }}{% endif %}{% endcapture %} +{% endif %} +{% if page_bgimg %}{% endif %}