From 0d872988b66675657a13682acf78fcaccbb5e170 Mon Sep 17 00:00:00 2001 From: Alexander Jung-Loddenkemper Date: Tue, 3 Apr 2012 21:25:10 +0200 Subject: [PATCH 1/2] Bootlex now supports disqus --- bootlex/templates/article.html | 16 ++++++++++++++++ bootlex/templates/base.html | 16 ++++++++++++++++ bootlex/templates/index.html | 7 ++++++- 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html index 18ba9a3..7903f61 100644 --- a/bootlex/templates/article.html +++ b/bootlex/templates/article.html @@ -9,5 +9,21 @@
{{ article.content }}
+ {% if DISQUS_SITENAME %} +
+ + + blog comments powered by Disqus + {% endif %} {% endblock %} diff --git a/bootlex/templates/base.html b/bootlex/templates/base.html index 711bda6..95629dd 100644 --- a/bootlex/templates/base.html +++ b/bootlex/templates/base.html @@ -67,5 +67,21 @@ + + {% if DISQUS_SITENAME %} + + {% endif %} + diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html index 02ff0ee..2a3d570 100644 --- a/bootlex/templates/index.html +++ b/bootlex/templates/index.html @@ -18,7 +18,12 @@ {{ article.summary }}
-
+
+ {% if DISQUS_SITENAME %} + + {% endif %} +
+
From 17705531db940f8068904bfdbe0117f0d95f6a83 Mon Sep 17 00:00:00 2001 From: Alexander Jung-Loddenkemper Date: Tue, 3 Apr 2012 21:54:29 +0200 Subject: [PATCH 2/2] [bootlex] fixes --- bootlex/templates/article.html | 1 - bootlex/templates/index.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bootlex/templates/article.html b/bootlex/templates/article.html index 7903f61..d2cfda6 100644 --- a/bootlex/templates/article.html +++ b/bootlex/templates/article.html @@ -23,7 +23,6 @@ })(); - blog comments powered by Disqus {% endif %}
{% endblock %} diff --git a/bootlex/templates/index.html b/bootlex/templates/index.html index 2a3d570..c45a57a 100644 --- a/bootlex/templates/index.html +++ b/bootlex/templates/index.html @@ -18,12 +18,12 @@ {{ article.summary }}
-
+
{% if DISQUS_SITENAME %} {% endif %}
-
+