diff --git a/layouts/_partials/head/head.html b/layouts/_partials/head/head.html
index 2149fa6..dbe85c2 100644
--- a/layouts/_partials/head/head.html
+++ b/layouts/_partials/head/head.html
@@ -18,9 +18,9 @@
{{- end -}}
-{{ with .Site.Params.favicon }}
- {{- $favicon := partial "helper/image" (dict "Image" . "Resources" resources) -}}
-
+{{- $favicon := partial "helper/image" (dict "Image" .Site.Params.favicon "Resources" resources) -}}
+{{ with $favicon }}
+
{{ end }}
{{- partial "google_analytics.html" . -}}