aboutsummaryrefslogtreecommitdiffstats
path: root/tuxlite_tbs
diff options
context:
space:
mode:
authorldx <ldx@nilvec.com>2013-02-24 18:59:54 +0100
committerldx <ldx@nilvec.com>2013-02-24 18:59:54 +0100
commit063d19aaeee575f8528d32df4a799f7c305c1bcf (patch)
tree3cc3d92e1321cd69bc839879f12528245bb5157e /tuxlite_tbs
parent53d6c4254aa2b4781b850419d63a40527c307d71 (diff)
downloadpelican-themes-063d19aaeee575f8528d32df4a799f7c305c1bcf.zip
pelican-themes-063d19aaeee575f8528d32df4a799f7c305c1bcf.tar.gz
pelican-themes-063d19aaeee575f8528d32df4a799f7c305c1bcf.tar.bz2
Set disqus_title in disqus.html.
If disqus_title is not set, Disqus will use the title of the site to name all threads.
Diffstat (limited to 'tuxlite_tbs')
-rw-r--r--tuxlite_tbs/templates/disqus.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/tuxlite_tbs/templates/disqus.html b/tuxlite_tbs/templates/disqus.html
index 5aa9f62..ddaaedd 100644
--- a/tuxlite_tbs/templates/disqus.html
+++ b/tuxlite_tbs/templates/disqus.html
@@ -2,6 +2,7 @@
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{{ DISQUS_SITENAME }}';
+ var disqus_title = '{{ article.title }}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;