diff --git a/layouts/partials/shortcodes/button.html b/layouts/partials/shortcodes/button.html index 5115dafc7b..f9d23850c7 100644 --- a/layouts/partials/shortcodes/button.html +++ b/layouts/partials/shortcodes/button.html @@ -45,9 +45,9 @@ {{- $icon = printf "fa-fw fas fa-%s" $icon }} {{- end }} {{- $iconposition := .iconposition | default "left" }} -{{- with $page }} +{{- with $page -}} - {{- if $isButton }} + {{- if $isButton -}} {{- else -}} @@ -61,6 +61,6 @@ {{- else -}} - {{- end }} + {{- end -}} {{- end }} \ No newline at end of file