summaryrefslogtreecommitdiffstats
path: root/themes/xmin/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/xmin/templates/index.html')
-rw-r--r--themes/xmin/templates/index.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/themes/xmin/templates/index.html b/themes/xmin/templates/index.html
new file mode 100644
index 0000000..23ec4cd
--- /dev/null
+++ b/themes/xmin/templates/index.html
@@ -0,0 +1,36 @@
1{% extends "base.html" %}
2
3{% block main %}
4<main class="h-card">
5 <h1 class="p-name">{{ config.title }}</h1>
6 {{ section.content | safe }}
7 <section>
8 <h2>Latest Posts</h2>
9 <ul class="h-feed">
10 {%- for page in section.pages | slice(end=3) %}
11 <li class="h-entry">
12 <time class="dt-published" datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%F") }}</time>
13 <a class="u-url p-name" href="{{ page.path | safe }}">{{ page.title }}</a>
14 </li>
15 {%- endfor %}
16 </ul>
17 </section>
18 <section>
19 <h2>Elsewhere on the Internet</h2>
20 <ul>
21 {%- for item in config.extra.menu.contact %}
22 <li>
23 {%- if item.url is starting_with("mailto:") %}
24 <a href="{{ item.url | safe }}" class="u-email email" rel="me">{{ item.name }}</a>
25 {%- else %}
26 <a href="{{ item.url | safe }}" class="u-url url" rel="me">{{ item.name }}</a>
27 {%- endif %}
28 </li>
29 {%- endfor %}
30 </ul>
31 </section>
32 <footer>
33 GPG Key: <a href="{{ config.extra.gpg_url | safe }}" rel="u-key pgpkey">{{ config.extra.gpg_fingerprint }}</a>
34 </footer>
35</main>
36{% endblock %}