summaryrefslogtreecommitdiffstats
path: root/src/templates/entry.html
blob: fe4cbfcb593738c196a3e1c51647c683dbf4288e (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
35
36
37
38
39
40
{% extends 'layout-journal.html' %}

{% block head %}
	<link href="isso.css" rel="stylesheet">
	<link href="../journal.atom" type="application/atom+xml" rel="alternate" title="kyrias’ journal atom feed" />
	{% if page.meta_desc is defined %}
	<meta name="description" content="{{ page.meta_desc }}">
	{% endif %}
	{% if page.meta_keywords is defined %}
	<meta name="keywords" content="{{ page.meta_keywords }}">
	{% endif %}
{% endblock head %}

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

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

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

		{{ page.body }}

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

{% endblock content %}