mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
3 lines
132 B
HTML
3 lines
132 B
HTML
{{- /* Trim whitespace from the beginning and end of a string */ -}}
|
|
{{- return (. | replaceRE `[\s]+` " " | strings.TrimSpace) -}}
|