From b8589d74ec65d4e99697f3be965bc69c98daccd9 Mon Sep 17 00:00:00 2001 From: Artium Date: Wed, 12 Apr 2017 22:19:42 +0300 Subject: [PATCH] Removed DISABLE_PAGE_LINKS as hidden status is suffisient. Added configuration to disable disqus comments --- templates/article.html | 2 +- templates/base.html | 4 +--- templates/index.html | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/article.html b/templates/article.html index 3915e7f..88aa28d 100644 --- a/templates/article.html +++ b/templates/article.html @@ -18,7 +18,7 @@ when=article.locale_date, category='%s'|format(SITEURL, article.category.url, article.category)|safe) }} - {% if DISQUS_SITENAME %} + {% if DISQUS_SITENAME and DISQUS_COMMENT_COUNT %} • {{ _('View Comments') }} {% endif %} diff --git a/templates/base.html b/templates/base.html index 6cd77a8..e91e155 100644 --- a/templates/base.html +++ b/templates/base.html @@ -91,17 +91,15 @@ {% if SITESUBTITLE %}

{{ SITESUBTITLE }}

{% endif %} - {% if (pages and not DISABLE_PAGE_LINKS) or LINKS %} + {% if pages or LINKS %}