diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index adecbc5..2da1608 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -16,7 +16,7 @@
{{ .Content }}
- {{- if .Site.Params.analytics }}
+ {{- if eq .Site.Params.analytics true }}
kudoses:
{{- end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c9a6e8c..2ee5e9a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -34,7 +34,7 @@
-{{ if .Site.Params.analytics }}
+{{ if eq .Site.Params.analytics trues }}
{{ end }}