don't show kudos when analytics disabled

This commit is contained in:
John Bowdre 2024-01-19 19:59:11 -06:00
parent 985bdbeb32
commit 1d4c7a5878

View file

@ -16,7 +16,10 @@
<div class="content__body">
{{ .Content }}
</div>
<span class="post_kudos">Kudoses:<button class="tinylytics_kudos"></button></span>
{{- if .Site.Params.analytics }}
<hr>
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
{{- end }}
{{- $showComments := true }}
{{- if eq .Site.Params.comments false }}
{{- $showComments = false }}