mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +00:00
don't show kudos when analytics disabled
This commit is contained in:
parent
985bdbeb32
commit
1d4c7a5878
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@
|
|||
<div class="content__body">
|
||||
{{ .Content }}
|
||||
</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 }}
|
||||
{{- if eq .Site.Params.comments false }}
|
||||
{{- $showComments = false }}
|
||||
|
|
Loading…
Reference in a new issue