Files
FixIt/layouts/_partials/function/trim.html
T

3 lines
132 B
HTML

{{- /* Trim whitespace from the beginning and end of a string */ -}}
{{- return (. | replaceRE `[\s]+` " " | strings.TrimSpace) -}}