summaryrefslogtreecommitdiff
path: root/templates/blog_post.html
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-06-06 21:46:53 -0400
committerMike Crute <mcrute@gmail.com>2010-06-06 21:46:53 -0400
commit5ca018a916a23bdfadbc2f063e7e82de885f04ed (patch)
tree82340b4f9f09d27628c027aa9547cea40f48dcd3 /templates/blog_post.html
downloadventriloquy-5ca018a916a23bdfadbc2f063e7e82de885f04ed.tar.bz2
ventriloquy-5ca018a916a23bdfadbc2f063e7e82de885f04ed.tar.xz
ventriloquy-5ca018a916a23bdfadbc2f063e7e82de885f04ed.zip
Initial import. Really rough code.
Diffstat (limited to 'templates/blog_post.html')
-rw-r--r--templates/blog_post.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/blog_post.html b/templates/blog_post.html
new file mode 100644
index 0000000..96c7bd9
--- /dev/null
+++ b/templates/blog_post.html
@@ -0,0 +1,26 @@
1{% extends "page.html" %}
2
3{% set is_blog = True %}
4
5{% block contents %}
6<h1 class="title">{{ post.title }}</h1>
7{{ post.contents }}
8
9{# Maybe enable comments... some day...
10<hr />
11<h2>Comments</h2>
12<hr />
13<div id="disqus_thread"></div>
14<script type="text/javascript">
15(function() {
16var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
17dsq.src = 'http://randomthoughtsofaprogrammer.disqus.com/embed.js';
18(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
19})();
20</script>
21#}
22{% endblock %}
23
24{% block update_date %}
25 <p class="updated"><span class="label">Page last updated:</span> {{ post.pretty_date }}</p>
26{% endblock %}