summaryrefslogtreecommitdiffstats
path: root/templates/entry.html
blob: e9acc7ad74107620311bb1bbe4eca561c6b031b2 (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 'layout.html' %}

{% block content %}
<article itemscope itemtype="http://schema.org/Article">
	<div>
		<h1>{{ entry['title'] }}</h1>
		<time itemprop="datePublished" datetime="{{ entry['date'] }}">{{ entry['date'] }}</time>
	</div>
	<div>
	{{ content }}
	</div>
</article>
{% if older and newer%}
<div>
	<a href="{{ older['file'] }}.html">Older</a><a href="{{ newer['file'] }}.html">Newer</a>
</div>
{% elif older %}
<div>
	<a href="{{ older['file'] }}.html">Older</a>
</div>
{% elif newer %}
<div>
	<a href="{{ newer['file'] }}.html">Newer</a>
</div>
{% endif %}
{% endblock %}