From 91df000ca82769a7578df81fa142d1a18e446bc0 Mon Sep 17 00:00:00 2001
From: Joe Mooring <joe.mooring@veriphor.com>
Date: Wed, 22 Nov 2023 16:05:23 +0000
Subject: [PATCH] Access Disqus shortname from canonical location (#660)

---
 layouts/_default/single.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5aaf9ff..0365132 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -51,7 +51,7 @@
       {{- .Content -}}
       {{- partial "tags.html" . -}}
       <div class="mt6 instapaper_ignoref">
-      {{ if .Site.DisqusShortname }}
+      {{ if .Site.Config.Services.Disqus.Shortname }}
         {{ template "_internal/disqus.html" . }}
       {{ end }}
       {{ if .Site.Params.commentoEnable }}

--
Gitblit v1.10.0