blob: 96c7bd98b1695c7def3eb45ec1a688406fd20d7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{% extends "page.html" %}
{% set is_blog = True %}
{% block contents %}
<h1 class="title">{{ post.title }}</h1>
{{ post.contents }}
{# Maybe enable comments... some day...
<hr />
<h2>Comments</h2>
<hr />
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://randomthoughtsofaprogrammer.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
#}
{% endblock %}
{% block update_date %}
<p class="updated"><span class="label">Page last updated:</span> {{ post.pretty_date }}</p>
{% endblock %}
|