diff --git a/lib/template.html b/lib/template.html index 5d26ea0..5ac1ff0 100644 --- a/lib/template.html +++ b/lib/template.html @@ -30,24 +30,24 @@ {% assign seo_name = seo_site_title %} {% endif %} {% if seo_name %} - {% assign seo_name = seo_name | smartify | strip_html | strip_newlines | escape_once %} + {% assign seo_name = seo_name | smartify | strip_html | normalize_whitespace | escape_once %} {% endif %} {% if seo_title %} - {% assign seo_title = seo_title | smartify | strip_html | strip_newlines | escape_once %} + {% assign seo_title = seo_title | smartify | strip_html | normalize_whitespace | escape_once %} {% endif %} {% if seo_site_title %} - {% assign seo_site_title = seo_site_title | smartify | strip_html | strip_newlines | escape_once %} + {% assign seo_site_title = seo_site_title | smartify | strip_html | normalize_whitespace | escape_once %} {% endif %} {% if seo_page_title %} - {% assign seo_page_title = seo_page_title | smartify | strip_html | strip_newlines | escape_once %} + {% assign seo_page_title = seo_page_title | smartify | strip_html | normalize_whitespace | escape_once %} {% endif %} {% assign seo_description = page.description | default: page.excerpt | default: site.description %} {% if seo_description %} - {% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %} + {% assign seo_description = seo_description | markdownify | strip_html | normalize_whitespace | escape_once %} {% endif %} {% assign seo_author = page.author | default: page.authors[0] | default: site.author %}