From ad521afb8df1116150e61ff0520e24db5472bfea Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 27 Sep 2024 16:01:38 +0900 Subject: [PATCH] Fix .Site.DisqusShortname deprecation --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 735bbf7c6..b019a5915 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,7 +5,7 @@

{{ .Title }}

{{ .Content }} -{{ if .Site.DisqusShortname -}} +{{ if .Site.Config.Services.Disqus.Shortname -}}

Comments

{{ template "_internal/disqus.html" . }} {{- end }}