~xdavidwu/xdavidwu.link

f505eaf8a0287141a4b796d7de8bd9c8189f947b — Lars Olesen 4 years ago a2ad0f2
Strip trailing whitespace in seo_description (#2542)

1 files changed, 1 insertions(+), 1 deletions(-)

M _includes/seo.html
M _includes/seo.html => _includes/seo.html +1 -1
@@ 22,7 22,7 @@

{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
{%- if seo_description -%}
  {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once -%}
  {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once | strip -%}
{%- endif -%}

{%- assign author = page.author | default: page.authors[0] | default: site.author -%}