aboutsummaryrefslogtreecommitdiffstats
path: root/gum/templates/article.html
diff options
context:
space:
mode:
Diffstat (limited to 'gum/templates/article.html')
-rw-r--r--gum/templates/article.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/gum/templates/article.html b/gum/templates/article.html
index c1887f4..15188d0 100644
--- a/gum/templates/article.html
+++ b/gum/templates/article.html
@@ -27,6 +27,20 @@
<div class="entry-content">
{{ article.content }}
</div><!-- /.entry-content -->
+ {% if DISQUS_SITENAME %}
+ <div class="comments">
+ <h3>Comments</h3>
+ <div id="disqus_thread"></div>
+ <script type="text/javascript">
+ var disqus_identifier = "{{ article.url }}";
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+ </script>
+ </div>
+ {% endif %}
</div><!-- /.eleven.columns -->