aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/shortcodes/include.md2
-rw-r--r--templates/shortcodes/include_range.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/shortcodes/include.md b/templates/shortcodes/include.md
index 163f5a0..b9a2141 100644
--- a/templates/shortcodes/include.md
+++ b/templates/shortcodes/include.md
@@ -1,2 +1,2 @@
{% set data = load_data(path=path) -%}
-{{ data -}}
+{{ data }}
diff --git a/templates/shortcodes/include_range.md b/templates/shortcodes/include_range.md
index b8ec9e5..bed515a 100644
--- a/templates/shortcodes/include_range.md
+++ b/templates/shortcodes/include_range.md
@@ -8,7 +8,7 @@
{% set data = load_data(path=path) | split(pat="\n") | slice(start=start-1, end=end) -%}
{% for line in data -%}
- {{ line -}}
+ {{ line }}
{% endfor -%}
{#- The '-' in the for loop is important, it removes the whitespaces after the stmt. -#}