mirror of
https://github.com/carsonip/hugo-theme-minos
synced 2025-12-29 19:09:50 -08:00
Merge pull request #24 from SDavey149/fix-disqus-comments
Fixing disqus shortname config location for newer versions of hugo
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -22,7 +22,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>
|
||||
|
||||
Reference in New Issue
Block a user