diff --git a/layouts/shortcodes/paige/icon.html b/layouts/shortcodes/paige/icon.html index 3c537321..b3f16456 100644 --- a/layouts/shortcodes/paige/icon.html +++ b/layouts/shortcodes/paige/icon.html @@ -7,17 +7,17 @@ {{ end }} - {{ with $url -}} - {{- if hasPrefix . "mailto:" -}} + {{ with $url }} + {{ if hasPrefix . "mailto:" }} - {{- else -}} + {{ else }} - {{- end -}} - {{- end -}} + {{ end }} + {{ end }} {{ with $name }}{{ . }}{{ end }} - {{- if $url -}} + {{ if $url }} - {{- end }} + {{ end }}