From 5857d01501091e3a357fed24da4161ae5b955108 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 21 Nov 2023 21:43:51 +0100 Subject: shortcodes: remove variable and rm surrounding whitepsaces ref: https://keats.github.io/tera/docs/#whitespace-control --- templates/shortcodes/include.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/shortcodes/include.md') diff --git a/templates/shortcodes/include.md b/templates/shortcodes/include.md index b9a2141..71b6438 100644 --- a/templates/shortcodes/include.md +++ b/templates/shortcodes/include.md @@ -1,2 +1 @@ -{% set data = load_data(path=path) -%} -{{ data }} +{{- load_data(path=path) -}} -- cgit v1.2.3