diff --git a/_includes/head.html b/_includes/head.html index 767c2df..915b5e3 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -57,10 +57,6 @@ - -{% 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 %} +{% if page.image.background or site.background %} + {% endif %} -{% if page_bgimg %}{% endif %}