diff --git a/layouts/partials/indent.html b/layouts/partials/indent.html new file mode 100644 index 0000000000..e2e7ec0263 --- /dev/null +++ b/layouts/partials/indent.html @@ -0,0 +1,3 @@ +{{- $content := .content }} +{{- $indention := .indention }} +{{- replaceRE "(\\r\\n|\\r|\\n)" (printf "$1%s" $indention) (replaceRE "^" $indention (trim $content " \n\r")) | safeHTML }} \ No newline at end of file diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 5ae0d88664..de45332fda 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -17,4 +17,4 @@ {{- with .Site.Params.author }} {{- end }} -{{ replace (trim (partial "social.html" .) " \n\r") "