mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-26 00:42:18 +00:00
move kudos into comments logic
This commit is contained in:
parent
254496777d
commit
9f59df16ad
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