mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
3 lines
No EOL
186 B
HTML
3 lines
No EOL
186 B
HTML
{{- $content := .content }}
|
|
{{- $indention := .indention }}
|
|
{{- replaceRE "(\\r\\n|\\r|\\n)" (printf "$1%s" $indention) (replaceRE "^" $indention (trim $content " \n\r\t")) | safeHTML }} |