From 5a790710f0f5da09643696c57940394b687d4cc6 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 19 Jan 2024 19:59:11 -0600 Subject: [PATCH] don't show kudos when analytics disabled --- layouts/_default/single.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0e31ec7..adecbc5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -16,7 +16,10 @@
{{ .Content }}
- Kudoses: + {{- if .Site.Params.analytics }} +
+ kudoses: + {{- end }} {{- $showComments := true }} {{- if eq .Site.Params.comments false }} {{- $showComments = false }}