mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 15:02:18 +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">
|
<div class="content__body">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
{{- if .Site.Params.analytics }}
|
{{- if eq .Site.Params.analytics true }}
|
||||||
<hr>
|
<hr>
|
||||||
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
|
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
|
||||||
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
||||||
|
|
||||||
{{ if .Site.Params.analytics }}
|
{{ if eq .Site.Params.analytics trues }}
|
||||||
<!-- tinylytics -->
|
<!-- tinylytics -->
|
||||||
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos" defer></script>
|
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos" defer></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue