-
Notifications
You must be signed in to change notification settings - Fork 2
/
post.html
42 lines (40 loc) · 1.43 KB
/
post.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{% extends "base.html" %}
{% block title %}{{post.title|escape}} - {{config.blog_name}}{% endblock %}
{% block body %}
<div class="post">
<div class="right">
<h2>{{post.title|escape}}</h2>
<p class="post-info">
Posted by {{config.author_name}}
{% if post.tags %}
| Filed under
{% for tag in post.tag_pairs %}
<a href="{{config.url_prefix}}/tag/{{tag.1|escape}}">{{tag.0|escape}}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
{% endif %}
</p>
{{post.rendered}}
{% if prev %}
<a id="prev" href="{{config.url_prefix}}{{prev.path}}">Previous Post</a>
{% endif %}
{% if next %}
<a id="next" href="{{config.url_prefix}}{{next.path}}">Next Post</a>
{% endif %}
{% if config.disqus_forum %}
<h3 id="comments">Comments</h3>
<div id="disqus_thread"></div>
{% if devel %}
<script type="text/javascript">
disqus_developer = 1;
</script>
{% endif %}
<script type="text/javascript" src="http://disqus.com/forums/{{config.disqus_forum}}/embed.js"></script>
<noscript><a href="http://disqus.com/forums/{{config.disqus_forum}}/?url=ref">View the discussion thread.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
{% endif %}
</div><!-- right-->
<div class="left">
{% include "post_meta.html" %}
</div><!-- left -->
</div><!-- post -->
{% endblock %}