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 %} + {{ title }} - + - + diff --git a/index.html b/index.html index 8e46fc7..216271a 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,7 @@ --- layout: base title: Home +subtitle: The website of James Howard, a Mathematician, a Different Kind of Mathematician, and a Statistician ---