diff --git a/layouts/partials/icon.html b/layouts/partials/icon.html
index 66aa932..1637a54 100644
--- a/layouts/partials/icon.html
+++ b/layouts/partials/icon.html
@@ -1,5 +1,5 @@
-{{ $icon_resource := resources.Get (printf "jam/icons/%s.svg" .) }}
-{{ $icon := $icon_resource.Content }}
-{{ $icon = replaceRE `` .) $icon }}
-{{ $icon | safeHTML }}
+{{- $icon_resource := resources.Get (printf "jam/icons/%s.svg" .) -}}
+{{- $icon := $icon_resource.Content -}}
+{{- $icon = replaceRE `` .) $icon -}}
+{{- $icon | safeHTML -}}