mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-02-06 03:43:32 +08:00
fix: remove \n
character from meta description (#980)
This commit is contained in:
parent
5a8607e4a8
commit
2cb5ba683b
@ -14,4 +14,4 @@
|
||||
{{ $description = .Summary }}
|
||||
{{ end }}
|
||||
|
||||
{{ return ($description | plainify)}}
|
||||
{{ return (replaceRE "\n" " " $description | plainify) }}
|
Loading…
Reference in New Issue
Block a user