First batch of day one
This commit is contained in:
3
themes/hugo-theme-relearn/layouts/partials/indent.html
Normal file
3
themes/hugo-theme-relearn/layouts/partials/indent.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{- $content := .content }}
|
||||
{{- $indention := .indention }}
|
||||
{{- replaceRE "(\\r\\n|\\r|\\n)" (printf "$1%s" $indention) (replaceRE "^" $indention (trim $content " \n\r\t")) | safeHTML }}
|
||||
Reference in New Issue
Block a user