summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorAdam Olech <me@aole.ch>2024-08-13 22:30:48 +0200
committerAdam Olech <me@aole.ch>2024-08-13 22:30:48 +0200
commit4dd58e0f094076ab6cf72be0c0d56c5606aa6d20 (patch)
tree1bd578fc30f36548fcc870ebb6adf4e2aeeecbb5 /layouts/_default/single.html
parentc55eca3683cd1cae0f2ab754d69ebbb41f68a8df (diff)
Adapt to newer Hugo
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
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)) -}}
<div class="comments">
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}