From 56249524322a3704274f3a6a72174a6cbc3e808f Mon Sep 17 00:00:00 2001 From: Chris Howie Date: Fri, 19 Jul 2013 15:31:52 +0000 Subject: [PATCH] Gum: Add Disqus support --- gum/templates/article.html | 14 ++++++++++++++ gum/templates/base.html | 1 + gum/templates/disqus_script.html | 11 +++++++++++ 3 files changed, 26 insertions(+) create mode 100644 gum/templates/disqus_script.html diff --git a/gum/templates/article.html b/gum/templates/article.html index e43e48e30..6616fbac8 100644 --- a/gum/templates/article.html +++ b/gum/templates/article.html @@ -26,6 +26,20 @@

{{ article.content }}
+ {% if DISQUS_SITENAME %} +
+

Comments

+
+ +
+ {% endif %} diff --git a/gum/templates/base.html b/gum/templates/base.html index 61a38d12c..afae24def 100644 --- a/gum/templates/base.html +++ b/gum/templates/base.html @@ -146,6 +146,7 @@

{{ SITENAME }} {{ SITESUBTITLE }} +{% include 'disqus_script.html' %} diff --git a/gum/templates/disqus_script.html b/gum/templates/disqus_script.html new file mode 100644 index 000000000..c4f442c8b --- /dev/null +++ b/gum/templates/disqus_script.html @@ -0,0 +1,11 @@ +{% if DISQUS_SITENAME %} + +{% endif %}