From 77372b7141a34acc63637e1d9b04fbe2da72aa4c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 4 Feb 2018 13:02:13 +0000 Subject: [PATCH] Dont add new lines to shortcodes --- layouts/shortcodes/pageparam.html | 2 +- layouts/shortcodes/siteparam.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/pageparam.html b/layouts/shortcodes/pageparam.html index 48d404d..661452e 100644 --- a/layouts/shortcodes/pageparam.html +++ b/layouts/shortcodes/pageparam.html @@ -1 +1 @@ -{{ .Page.Param (.Get 0) }} +{{ .Page.Param (.Get 0) -}} diff --git a/layouts/shortcodes/siteparam.html b/layouts/shortcodes/siteparam.html index bf4a36f..4d05a0e 100644 --- a/layouts/shortcodes/siteparam.html +++ b/layouts/shortcodes/siteparam.html @@ -1 +1 @@ -{{ .Page.Site.Param (.Get 0) }} +{{ .Page.Site.Param (.Get 0) -}}