summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..c32a7fb
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,22 @@
+{% extends "default.html" %}
+{% block content %}
+<h1>Welcome</h1>
+
+<p>Welcome, this is my website, an under-maintained infodump. Hopefully you'll find something useful here.</p>
+
+<h2>Recent blogposts:</h2>
+<ul class="postlist">{% for post in page.posts %}
+ <li>
+ <article>
+ <header>
+ <h3>{{ post.title }}</h3>
+ </header>
+ {{ post.pre }}
+ <a href="/{{ post.location }}">Read more...</a>
+ <footer>
+ <time>{{ post.date|datefmt }}</time>
+ </footer>
+ </article>
+ </li>
+{% endfor %}</ul>
+{% endblock %}