diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1d983fd..eebe491 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -51,9 +51,7 @@ {{- end }} - {{- if (.Param "comments") }} {{- partial "comments.html" . }} - {{- end }} {{- end }}{{/* end main */}} diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 918451a..8ed3e5d 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,3 +1,17 @@ {{- /* Comments area start */ -}} {{- /* to add comments read => https://gohugo.io/content-management/comments/ */ -}} +
+ {{- /* Comments area end */ -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 300a841..3b73387 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -115,6 +115,9 @@ {{ end -}} + + +