From 223bbcf7f65d3225b3c1568bd9ccb847c54028d8 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sat, 19 Oct 2024 23:22:04 -0400 Subject: Fixed some deprecated variables didn't mean to add these --- themes/hugo-coder/layouts/partials/posts/disqus.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/hugo-coder/layouts/partials/posts/disqus.html') diff --git a/themes/hugo-coder/layouts/partials/posts/disqus.html b/themes/hugo-coder/layouts/partials/posts/disqus.html index b0ffb1f..2c437c1 100644 --- a/themes/hugo-coder/layouts/partials/posts/disqus.html +++ b/themes/hugo-coder/layouts/partials/posts/disqus.html @@ -1,3 +1,3 @@ -{{- if and (not (eq (.Site.DisqusShortname | default "") "")) (eq (.Params.disableComments | default false) false) -}} +{{- if and (not (eq (.Site.Config.Services.Disqus.Shortname | default "") "")) (eq (.Params.disableComments | default false) false) -}} {{ template "_internal/disqus.html" . }} {{- end -}} -- cgit v1.2.3