diff options
author | ldx <ldx@nilvec.com> | 2013-02-24 18:59:54 +0100 |
---|---|---|
committer | ldx <ldx@nilvec.com> | 2013-02-24 18:59:54 +0100 |
commit | 063d19aaeee575f8528d32df4a799f7c305c1bcf (patch) | |
tree | 3cc3d92e1321cd69bc839879f12528245bb5157e /tuxlite_tbs/templates | |
parent | 53d6c4254aa2b4781b850419d63a40527c307d71 (diff) | |
download | pelican-themes-063d19aaeee575f8528d32df4a799f7c305c1bcf.tar.gz |
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/templates')
-rw-r--r-- | tuxlite_tbs/templates/disqus.html | 1 |
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; |