From e648a4e34cb300f7302a8f05e85056259b57489e Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 19 Jan 2024 20:06:30 -0600 Subject: [PATCH] fix analytics logic --- layouts/_default/single.html | 2 +- layouts/partials/head.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}