diff --git a/_includes/head.html b/_includes/head.html index 376681c..9c34d94 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -15,16 +15,21 @@ {% assign featured_image = page.featured_image %} {% endif %} + {% assign desc = page.content | markdownify | strip_html | truncatewords: 30 %} + {% if page.subtitle %} + {% assign desc = page.subtitle | markdownify | strip_html %} + {% endif %} +