summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-07-18 23:46:06 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-07-18 23:55:42 +0100
commitc34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23 (patch)
treea50e1f923f5101846e440fba4b076b14d8ac6b4b /templates/index.html
downloadthe-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.tar.gz
the-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.tar.xz
the-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.zip
init commit
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 %}