summaryrefslogtreecommitdiffstats
path: root/kyrias_website/templates/page.html
blob: cca59afaadf75eb6e888fdecc3cd53fcc83b9655 (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
{% extends 'base.html' %}

{% block head %}
<title>{{ page.title }}</title>
{% endblock %}

{% block content %}
<article itemscope itemtype="http://schema.org/Article">
	<header>
		<h1>{{ page.title }}</h1>
		<time itemprop="datePublished" datetime="{{ page.meta.date }}">{{ page.meta.date }}</time>
	</header>
	<div>
	{{ page.html|safe }}
	</div>
	<footer>
		{% if 'tags' in page.meta %}
		<div id="tags">
		Tags:
		{% set comma = joiner(",") %}
		{% for tag in page.meta.tags %}{{ comma() }}
		<a href="{{ url_for('tags', _anchor=tag) }}">{{ tag }}</a>{% endfor %}
		</div>
		{% endif %}
	</footer>
</article>
{% endblock %}