diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5a9ba72..01cae71 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -16,10 +16,7 @@
{{ .Content }}
- {{- if eq .Site.Params.analytics true }} -
- Enjoyed this post? - {{- end }} + {{- $showComments := true }} {{- if eq .Site.Params.comments false }} {{- $showComments = false }} @@ -27,6 +24,10 @@ {{- $showComments = false }} {{- end }} {{- if ne $showComments false }} +
+ {{- if eq .Site.Params.analytics true }} + Enjoyed this post? + {{- end }} {{- partial "comments" . }} {{- end }}