move kudos into comments logic

This commit is contained in:
John Bowdre 2024-01-20 09:15:36 -06:00
parent d5626f3b13
commit bf34653697

View file

@ -16,10 +16,7 @@
<div class="content__body">
{{ .Content }}
</div>
{{- if eq .Site.Params.analytics true }}
<hr>
<span class="post_kudos">Enjoyed this post?<button class="tinylytics_kudos"></button></span>
{{- end }}
{{- $showComments := true }}
{{- if eq .Site.Params.comments false }}
{{- $showComments = false }}
@ -27,6 +24,10 @@
{{- $showComments = false }}
{{- end }}
{{- if ne $showComments false }}
<hr>
{{- if eq .Site.Params.analytics true }}
<span class="post_kudos">Enjoyed this post?<button class="tinylytics_kudos"></button></span>
{{- end }}
{{- partial "comments" . }}
{{- end }}
<footer class="content__footer"></footer>