don't show kudos when analytics disabled

This commit is contained in:
John Bowdre 2024-01-19 19:59:11 -06:00
parent 50d48780be
commit 5a790710f0

View file

@ -16,7 +16,10 @@
<div class="content__body"> <div class="content__body">
{{ .Content }} {{ .Content }}
</div> </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 }} {{- $showComments := true }}
{{- if eq .Site.Params.comments false }} {{- if eq .Site.Params.comments false }}
{{- $showComments = false }} {{- $showComments = false }}