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) -}}