mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +01:00
fix: remove \n
character from meta description (#980)
This commit is contained in:
parent
5a8607e4a8
commit
2cb5ba683b
1 changed files with 1 additions and 1 deletions
|
@ -14,4 +14,4 @@
|
||||||
{{ $description = .Summary }}
|
{{ $description = .Summary }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ return ($description | plainify)}}
|
{{ return (replaceRE "\n" " " $description | plainify) }}
|
Loading…
Reference in a new issue