summaryrefslogtreecommitdiffstats
path: root/themes/xmin/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xmin/templates/page.html')
-rw-r--r--themes/xmin/templates/page.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/xmin/templates/page.html b/themes/xmin/templates/page.html
new file mode 100644
index 0000000..f32a6fc
--- /dev/null
+++ b/themes/xmin/templates/page.html
@@ -0,0 +1,28 @@
1{% extends "base.html" %}
2
3{% block title %}
4{{- page.title -}}
5{% endblock %}
6
7{% block main %}
8<article class="h-entry">
9 <header>
10 <h1><span class="title p-name">{{ page.title }}</span></h1>
11 <time class="dt-published" datetime="{{ page.date | date(format='%+') }}">{{ page.date | date(format="%F") }}</time>
12 <p class="terms">
13 {%- if page.taxonomies %}
14 {%- for name, taxon in page.taxonomies %}
15 {{ name | capitalize }}:
16 {%- for item in taxon %}
17 <a class="p-category" href="{{ get_taxonomy_url(kind=name, name=item) }}">{{ item }}</a>
18 {%- endfor %}
19 {%- endfor %}
20 {%- endif %}
21 </p>
22 </header>
23
24 <main class="e-content">
25 {{ page.content | safe }}
26 </main>
27</article>
28{% endblock %}