summaryrefslogtreecommitdiffstats
path: root/templates/entry.html
blob: f5f11c713773610c1364da89218f8975cc97cb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% 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>
<div id="post-nav">
{% if older and newer%}
	<a href="{{ older['file'] }}.html">Older ({{ older['title'] }})</a><a href="{{ newer['file'] }}.html">Newer ({{ newer['title'] }})</a>
{% elif older %}
	<a href="{{ older['file'] }}.html">Older ({{ older['title'] }})</a>
{% elif newer %}
	<a href="{{ newer['file'] }}.html">Newer ({{ newer['title'] }})</a>
{% endif %}
</div>
{% endblock %}