mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 15:02:18 +00:00
don't show kudos when analytics disabled
This commit is contained in:
parent
50d48780be
commit
5a790710f0
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@
|
||||||
<div class="content__body">
|
<div class="content__body">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
<span class="post_kudos">Kudoses:<button class="tinylytics_kudos"></button></span>
|
{{- if .Site.Params.analytics }}
|
||||||
|
<hr>
|
||||||
|
<span class="post_kudos">kudoses:<button class="tinylytics_kudos"></button></span>
|
||||||
|
{{- end }}
|
||||||
{{- $showComments := true }}
|
{{- $showComments := true }}
|
||||||
{{- if eq .Site.Params.comments false }}
|
{{- if eq .Site.Params.comments false }}
|
||||||
{{- $showComments = false }}
|
{{- $showComments = false }}
|
||||||
|
|
Loading…
Reference in a new issue