diff options
| -rw-r--r-- | .templates/base.html | 5 | ||||
| -rw-r--r-- | .templates/document.html | 20 | ||||
| -rw-r--r-- | static/media/css/bong | 0 | ||||
| -rw-r--r-- | static/media/css/comments.css | 7 |
4 files changed, 32 insertions, 0 deletions
diff --git a/.templates/base.html b/.templates/base.html new file mode 100644 index 0000000..39c5ae9 --- /dev/null +++ b/.templates/base.html @@ -0,0 +1,5 @@ +{% extends 'markdoc-default/base.html' %} +{% block css %} +{{ super() }} +{{ html.cssimport(make_relative("/media/css/comments.css")) }} +{% endblock %} 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 diff --git a/static/media/css/bong b/static/media/css/bong new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/static/media/css/bong diff --git a/static/media/css/comments.css b/static/media/css/comments.css new file mode 100644 index 0000000..39aa538 --- /dev/null +++ b/static/media/css/comments.css @@ -0,0 +1,7 @@ +body #comments { + background-color: white; + clear: both; + float: left; + overflow: hidden; + padding: 15px 20px; + width: 610px; } |
