diff --git a/layouts/shortcodes/keyword.html b/layouts/shortcodes/keyword.html index 958b56a4..dd3aa6cc 100644 --- a/layouts/shortcodes/keyword.html +++ b/layouts/shortcodes/keyword.html @@ -1,12 +1,13 @@ -{{ $icon := .Get "icon" }} +{{- $icon := .Get "icon" -}}
- {{ if $icon }} + {{- if $icon -}} {{ partial "icon" $icon }} - {{ end }} + {{- end -}} {{- .Inner | markdownify -}}
+{{- /* Trim EOF */ -}}