include description when on the homepage

This commit is contained in:
Ben Balter 2015-10-25 17:25:43 -04:00
parent 0c2ca4e07a
commit ad8e4a2262
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@
{% endif %}
{% elsif site.title %}
{% assign seo_title = site.title %}
{% if site.description %}
{% assign seo_title = seo_title | append:" - " | append: site.description %}
{% endif %}
{% endif %}
{% if seo_title %}
{% assign seo_title = seo_title | escape | markdownify | strip_html | strip_newlines %}