From 86eeb589ffb6b577384d6f66916233dfc2e12ac6 Mon Sep 17 00:00:00 2001 From: Alexander Bilz Date: Fri, 8 Jan 2021 20:29:38 +0000 Subject: [PATCH] Fix compatibility issue with Hugo v0.54.0 --- layouts/_default/single.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index bc807388..b4ff8075 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -34,18 +34,18 @@

{{ .Title }}

{{ if eq .Type "post"}} - {{ if .Site.DisqusShortname -}} + {{- if .Site.DisqusShortname -}}

{{ i18n "comments" }}

{{ template "_internal/disqus.html" . }}
- {{- end }} - {{ if .Site.Params.utterances.repo -}} + {{- end -}} + {{- if .Site.Params.utterances.repo -}}

{{ i18n "comments" }}

{{ partial "comments/utterances.html" . }}
- {{- end }} + {{- end -}} {{ end }}