{% if index %} {% capture description %} {{ site.description }} {% endcapture %} {% else %} {% capture description %} {% if page.description %} {{ page.description }} {% elsif content | excerpt %} {{ content | excerpt }} {% else %} {{ content | raw_content }} {% endif %} {% endcapture %} {% endif %} {% if page.keywords %}{% endif %} {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %} {% if page.categories %} {% endif %} {% include custom/head.html %} {% include google_analytics.html %}