Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/article_footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/article_footer.html b/layouts/partials/article_footer.html
index bc44176..b5d6e7d 100644
--- a/layouts/partials/article_footer.html
+++ b/layouts/partials/article_footer.html
@@ -3,7 +3,7 @@
<i class="fa fa-share"></i>
{{with .Site.Data.l10n.articles.share}}{{.}}{{end}}
</a>
- {{ if not (eq .Site.DisqusShortname "") }}
+ {{ if and (not (eq .Site.DisqusShortname "")) (not .Params.disable_comments) }}
<a href="{{ .Permalink }}/#disqus_thread" class="article-comment-link">
{{with .Site.Data.l10n.articles.comments}}{{.}}{{end}}
</a>