From 67dd6892494c7bea62c94494a185c4e230eeb642 Mon Sep 17 00:00:00 2001 From: Artium Date: Wed, 12 Apr 2017 20:11:38 +0300 Subject: [PATCH] Add disquss comment counter at the bottom of each article on the index page --- templates/base.html | 17 +++++++++++++++++ templates/index.html | 1 + 2 files changed, 18 insertions(+) diff --git a/templates/base.html b/templates/base.html index 8f79b77..86e0db8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -190,5 +190,22 @@ {% if GITHUB_CORNER_URL %} {% include 'partial/github.html' %} {% endif %} + + {% if DISQUS_SITENAME %} + + + {% endif %} + diff --git a/templates/index.html b/templates/index.html index a0769c1..c6dda38 100644 --- a/templates/index.html +++ b/templates/index.html @@ -41,6 +41,7 @@ {{ article.summary }}
{{ _('Continue reading') }} + {{ _('View Comments') }} {% else %} {{ article.content }} {% endif %}