From e9953751ec34c47311d7a73e7038d5e6f52bd45b Mon Sep 17 00:00:00 2001 From: Salim B Date: Sat, 1 May 2021 18:51:58 +0200 Subject: [PATCH] Strip leading whitespaces --- layouts/shortcodes/insertpages.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/insertpages.html b/layouts/shortcodes/insertpages.html index 74f726db1..a7cfc83fd 100644 --- a/layouts/shortcodes/insertpages.html +++ b/layouts/shortcodes/insertpages.html @@ -4,7 +4,7 @@ Insert page `.Content` from a (headless) bundle; you can insert `.Content` from Usage: {{< insertpages path="PATH/TO/MD_FILE" >}} {{< insertpages path="PATH/TO/BUNDLE" glob="*_PATTERN.md" >}} */}} --> -{{ $path := .Get "path" -}} +{{- $path := .Get "path" -}} {{ $glob := .Get "glob" -}} {{ $scratch := newScratch -}}