Fixing disqus shortname config location for newer versions of hugo

This commit is contained in:
Scott Davey
2019-02-10 19:43:29 +00:00
parent c1e3d1baad
commit 118bfa2c42
4 changed files with 4 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
{{ partial "header.html" . }}
<section id="main" class="outer">
{{ partial "article.html" . }}
{{ if and (not .Params.nocomment) .Site.Params.disqusShortname }}
{{ if and (not .Params.nocomment) .Site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}
{{ end }}
</section>