summaryrefslogtreecommitdiffstats
path: root/src/templates/journal.html
blob: 6e673a242cfb08368d229b2bafe28178c5d104cd (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 head %}
	<link href="journal.atom" type="application/atom+xml" rel="alternate" title="kyrias’ journal atom feed" />
{% endblock head %}

{% block content %}
{% for entry in entries %}
	<article itemscope itemtype="http://schema.org/Article"
	         class="entry{% if entry.dropcap %} dropcap{% endif %}" id="entry:{{ entry.id }}">

		<h2 itemprop="name" class="title"><a href="#entry:{{ entry.id }}">{{ entry.title }}</a></h2>

		<div class="info">
			Published on
			<time itemprop="datePublished" datetime="{{ entry.date.strftime('%Y-%m-%d') }}">
				{{ entry.date.strftime('%Y-%m-%d') }}
			</time>
		</div>

		{{ entry.body }}

		<div class="botinfo">
			<span itemprop="author" itemscope itemtype="http://schema.org/Person">
				{% if entry.author_link %}<a itemprop="name" rel="author" href="{{ entry.author_link }}">{{ entry.author }}</a>
				{% else %}{{ entry.author }}
				{% endif %}
			</span>
		</div>
	</article>
{% endfor %}
{% endblock content %}