From 589eea364d1f49c600a2f8bfc199b9d6d5c33648 Mon Sep 17 00:00:00 2001 From: Djordje Atlialp Date: Sun, 15 Mar 2020 13:45:52 +0100 Subject: [PATCH] Fix disqus --- layouts/_default/single.html | 9 +++++---- layouts/posts/single.html | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 21c1142..1618eb3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -49,10 +49,11 @@ {{- end }} -
- {{- if .Site.DisqusShortname }} + + {{- if .Site.DisqusShortname }} +
{{ template "_internal/disqus.html" . }} - {{- end }} -
+
+ {{- end }} {{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 76152cb..19e25f9 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -87,10 +87,10 @@ {{ end }} - {{ if .Params.comments }} -
- {{- partial "comments.html" . -}} + {{- if .Site.DisqusShortname }} +
+ {{ template "_internal/disqus.html" . }}
- {{ end }} + {{- end }} {{ end }}