diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html index 5d81765..16beda3 100644 --- a/.themes/classic/source/_includes/head.html +++ b/.themes/classic/source/_includes/head.html @@ -4,8 +4,8 @@ - {% if page.title %}{{page.title}} - {% endif %}{{site.title}} - + {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} + {% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} @@ -18,11 +18,11 @@ {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %} - + - + {% include custom/head.html %}