Skip to content

Commit

Permalink
Fix .Site.DisqusShortname deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ehdwn1991 authored Sep 27, 2024
1 parent 87b923b commit ad521af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1>{{ .Title }}</h1>
{{ .Content }}
</div>

{{ if .Site.DisqusShortname -}}
{{ if .Site.Config.Services.Disqus.Shortname -}}
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
{{- end }}
Expand Down

0 comments on commit ad521af

Please sign in to comment.