diff options
author | lloyd <[email protected]> | 2014-01-02 00:21:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-02 00:21:28 +0000 |
commit | edf65a4ff8590a8aef04fc308643f130c05c3d2a (patch) | |
tree | 4745064a3080e0dbce542a7e86f06d4894ca52e2 /src/build-data/sphinx/disqus | |
parent | 585356e222c5a6116532ba14cce44a2c6cd9c366 (diff) |
Move Sphinx config
Diffstat (limited to 'src/build-data/sphinx/disqus')
-rw-r--r-- | src/build-data/sphinx/disqus/page.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/build-data/sphinx/disqus/page.html b/src/build-data/sphinx/disqus/page.html new file mode 100644 index 000000000..56e102044 --- /dev/null +++ b/src/build-data/sphinx/disqus/page.html @@ -0,0 +1,21 @@ +{% extends "!page.html" %} + +{% block body %} +{{ super() }} + +<div id="disqus_thread"></div> +<script type="text/javascript"> + var disqus_shortname = 'botan'; + + var disqus_identifier = 'botan_{{ pagename }}'; + var disqus_url = 'http://botan.randombit.net/{{ pagename }}.html'; + + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); +</script> +<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + +{% endblock %} |