Fixing multi-line partials

This commit is contained in:
Tyler Akins
2017-04-21 09:37:16 -05:00
parent 8142f70769
commit 0ca9970b58
6 changed files with 34 additions and 0 deletions

15
demo/indented-partial Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
export data=$'line 1\nline 2'
cat <<EOF | ../mo
Here is a partial without an indent:
{{> partial}}
And here's the same partial with a 4-space indent:
{{> partial}}
:-)
EOF