diff --git a/layouts/partials/shortcodes/siteparam.html b/layouts/partials/shortcodes/siteparam.html index 179361cf0b..e477be730f 100644 --- a/layouts/partials/shortcodes/siteparam.html +++ b/layouts/partials/shortcodes/siteparam.html @@ -11,5 +11,7 @@ {{- $params = index . (lower $paramName) }} {{- end }} {{- end }} -{{- $params | .RenderString }} +{{- if $params }} + {{- $params | .RenderString }} +{{- end }} {{- end }} \ No newline at end of file