summaryrefslogtreecommitdiffstats
path: root/src/templates/journal.html
blob: a4bef7f7b404b2de191f77c545fd2f87f82a4539 (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
{% extends 'layout.html' %}

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

		<h2 itemprop="name" class="title">{{ entry.title }}</h2>

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

			<span itemprop="author" itemscope itemtype="http://schema.org/Person">
				{% if entry.author_link %}
					by <a itemprop="name" rel="author" href="{{ entry.author_link }}">{{ entry.author }}</a>
				{% else %}
					by {{ entry.author }}
				{% endif %}
			</span>
			| <a href="/~kyrias/{{ entry.page }}#isso-thread">comments</a>
		</div>

		{{ entry.body }}
	</article>
{% endfor %}
{% endblock content %}