diff options
| author | Owen Jacobson <owen.jacobson@grimoire.ca> | 2013-01-03 14:05:04 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen.jacobson@grimoire.ca> | 2013-01-03 14:05:04 -0500 |
| commit | 2568eb78eac1b2fa16cb769637b76fefbf828a53 (patch) | |
| tree | 540d7bdb5b4134a05a1bdf76204f05fdb220514c /.templates | |
| parent | 5643269187958a8a1eee4961c1c52874a5db6d40 (diff) | |
Basic template glue for Disqus.
Diffstat (limited to '.templates')
| -rw-r--r-- | .templates/document.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.templates/document.html b/.templates/document.html new file mode 100644 index 0000000..8051277 --- /dev/null +++ b/.templates/document.html @@ -0,0 +1,20 @@ +{% extends 'markdoc-default/document.html' %} +{% block body_footer %} +<div id="comments"> +<div id="disqus_thread"></div> +<script type="text/javascript"> + /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ + var disqus_shortname = 'grimoire'; // required: replace example with your forum shortname + + /* * * DON'T EDIT BELOW THIS LINE * * */ + (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> +<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> +</div> +{{ super() }} +{% endblock %}
\ No newline at end of file |
