{% if page.tags %}{% endif %} {% if site.owner.twitter %} {% if page.image.feature %} {% else %} {% endif %} {% endif %} {% if site.google_verify %}{% endif %} {% if site.bing_verify %}{% endif %} {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} {% if site.owner.google_plus %}{% endif %} {% 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 %}