blob: 1d582096010a4d2f6b483a6baeda48e78924976e (
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
27
28
29
30
31
32
33
34
|
{% extends 'layout.html' %}
{% block content %}
<article itemscope itemtype="http://schema.org/Article">
<header>
<h1>{{ entry['title'] }}</h1>
<time itemprop="datePublished" datetime="{{ entry['date'] }}">{{ entry['date'] }}</time>
</header>
<div>
{{ content }}
</div>
<footer>
{% if 'tags' in entry %}
<div id="tags">
Tags:
{% set comma = joiner(",") %}
{% for tag in entry['tags'] %}{{ comma() }}
<a href="tag-{{ tag }}.html">{{ tag }}</a>{% endfor %}
</div>
{% endif %}
</footer>
</article>
<nav>
<div id="post-nav">
{% if older and newer%}
<a href="{{ older[0]['file'] }}.html">Older ({{ older[0]['title'] }})</a> — <a href="{{ newer[0]['file'] }}.html">Newer ({{ newer[0]['title'] }})</a>
{% elif older %}
<a href="{{ older[0]['file'] }}.html">Older ({{ older[0]['title'] }})</a>
{% elif newer %}
<a href="{{ newer[0]['file'] }}.html">Newer ({{ newer[0]['title'] }})</a>
{% endif %}
</nav>
</div>
{% endblock %}
|