mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42: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">
|
<div class="content__body">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
{{- if eq .Site.Params.analytics true }}
|
|
||||||
<hr>
|
|
||||||
<span class="post_kudos">Enjoyed this post?<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 }}
|
||||||
|
@ -27,6 +24,10 @@
|
||||||
{{- $showComments = false }}
|
{{- $showComments = false }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if ne $showComments false }}
|
{{- 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" . }}
|
{{- partial "comments" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<footer class="content__footer"></footer>
|
<footer class="content__footer"></footer>
|
||||||
|
|
Loading…
Reference in a new issue