mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42:19 +00:00
fix analytics logic
This commit is contained in:
parent
1d4c7a5878
commit
e648a4e34c
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