mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-24 11:52:19 +00:00
fix analytics logic
This commit is contained in:
parent
5a790710f0
commit
5991a169a4
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
<div class="content__body">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{- if .Site.Params.analytics }}
|
||||
{{- if eq .Site.Params.analytics true }}
|
||||
<hr>
|
||||
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
|
||||
{{- end }}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
||||
|
||||
{{ if .Site.Params.analytics }}
|
||||
{{ if eq .Site.Params.analytics trues }}
|
||||
<!-- tinylytics -->
|
||||
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos" defer></script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue