Merge pull request #24 from SDavey149/fix-disqus-comments

Fixing disqus shortname config location for newer versions of hugo
This commit is contained in:
Carson Ip
2019-03-23 19:17:09 +08:00
committed by GitHub
4 changed files with 4 additions and 5 deletions

View File

@@ -29,7 +29,7 @@
</div>
</div>
{{ end }}
{{ if .Site.Params.disqusShortname }}
{{ if .Site.DisqusShortname }}
<div class="article-comment-link-wrap">
<a href="{{ .RelPermalink }}#disqus_thread" class="article-comment-link">Comments</a>
</div>