mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +00:00
move kudos into comments logic
This commit is contained in:
parent
d5626f3b13
commit
bf34653697
1 changed files with 5 additions and 4 deletions
|
@ -16,10 +16,7 @@
|
|||
<div class="content__body">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{- if eq .Site.Params.analytics true }}
|
||||
<hr>
|
||||
<span class="post_kudos">Enjoyed this post?<button class="tinylytics_kudos"></button></span>
|
||||
{{- end }}
|
||||
|
||||
{{- $showComments := true }}
|
||||
{{- if eq .Site.Params.comments false }}
|
||||
{{- $showComments = false }}
|
||||
|
@ -27,6 +24,10 @@
|
|||
{{- $showComments = false }}
|
||||
{{- end }}
|
||||
{{- if ne $showComments false }}
|
||||
<hr>
|
||||
{{- if eq .Site.Params.analytics true }}
|
||||
<span class="post_kudos">Enjoyed this post?<button class="tinylytics_kudos"></button></span>
|
||||
{{- end }}
|
||||
{{- partial "comments" . }}
|
||||
{{- end }}
|
||||
<footer class="content__footer"></footer>
|
||||
|
|
Loading…
Reference in a new issue