From 4dd58e0f094076ab6cf72be0c0d56c5606aa6d20 Mon Sep 17 00:00:00 2001 From: Adam Olech Date: Tue, 13 Aug 2024 22:30:48 +0200 Subject: Adapt to newer Hugo --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 10e18b3..6d6629e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -19,7 +19,7 @@ {{ partial "share.html" . }} {{- end }} - {{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}} + {{ if (and .Site.Config.Services.Disqus.Shortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}

Comments

{{ template "_internal/disqus.html" . }} -- cgit v1.2.1