Skip to content

Commit

Permalink
Fix wrong newline concatenation in SEO description, resolves mmistake…
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug authored and chukycheese committed Sep 18, 2023
1 parent 552d1d0 commit 0a79ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 | strip_newlines | escape_once -%}
{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once -%}
{%- endif -%}

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

0 comments on commit 0a79ad5

Please sign in to comment.