mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
08.29.2021 86eeb589ffb6b577384d6f66916233dfc2e12ac6
Fix compatibility issue with Hugo v0.54.0
1 files modified
8 ■■■■ changed files
layouts/_default/single.html 8 ●●●● patch | view | raw | blame | history
layouts/_default/single.html
@@ -34,18 +34,18 @@
        </div>
        {{ if eq .Type "post"}}
            {{ if .Site.DisqusShortname -}}
            {{- if .Site.DisqusShortname -}}
                <div id="fb_comments_container">
                    <h2>{{ i18n "comments" }}</h2>
                    {{ template "_internal/disqus.html" . }}
                </div>
            {{- end }}
            {{ if .Site.Params.utterances.repo  -}}
            {{- end -}}
            {{- if .Site.Params.utterances.repo -}}
            <div id="fb_comments_container">
                <h2>{{ i18n "comments" }}</h2>
                {{ partial "comments/utterances.html" . }}
            </div>
            {{- end }}
            {{- end -}}
        {{ end }}
    </div>