Skip to content

Commit

Permalink
Address use of deprecated param .Site.DisqusShortname
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Apr 17, 2024
1 parent 7ab5fbe commit 74ecf02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1>{{ .Title }}</h1>
</header>
{{ .Content }}
{{ partial "feedback.html" . -}}
{{ if (.Site.Params.DisqusShortname) -}}
{{ if (.Site.Config.Services.Disqus.Shortname) -}}
<br />
{{- partial "disqus-comment.html" . -}}
{{ end -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/blog/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>{{ .Title }}</h1>
{{ end -}}
</header>
{{ .Content }}
{{ if (.Site.Params.DisqusShortname) -}}
{{ if (.Site.Config.Services.Disqus.Shortname) -}}
<br />
{{- partial "disqus-comment.html" . -}}
<br />
Expand Down

0 comments on commit 74ecf02

Please sign in to comment.