Compare commits

..

No commits in common. "85a5a68f46e3fda9181c27b7316ef0aab32957e5" and "2d02179d2eb2ec5fa7677f65a8fec7cd2d964c6b" have entirely different histories.

2 changed files with 5 additions and 6 deletions

View file

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

View file

@ -36,7 +36,7 @@
{{ if eq .Site.Params.analytics true }}
<!-- tinylytics -->
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=🎉" defer></script>
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=👏" defer></script>
{{ end }}
<!-- syntax highlighting -->