diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c2a166c..ca6f354 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -28,10 +28,10 @@
-{{ if (isset .Params "twitterSite") or (eq .Params.twitterSite "") }}
-
+{{ if (isset $.Site.Params.Twitter "site") or (eq $.Site.Params.Twitter.site "") }}
+
{{ end }}
-
+