Skip to content

Commit

Permalink
Fix compatibility issue with Hugo v0.54.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Jan 8, 2021
1 parent b2adcbc commit 86eeb58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ <h3>{{ .Title }}</h3>
</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>

Expand Down

0 comments on commit 86eeb58

Please sign in to comment.