summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-12 02:06:41 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-12 02:06:41 +0100
commit5591d977998a189573e8f780a5270ab81bb56ddc (patch)
tree16188b30ea414fb556b024aa20a4b918b1d61fbc /templates/index.html
downloadkyblo-5591d977998a189573e8f780a5270ab81bb56ddc.tar.xz
Initial commit
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..0cabcdb
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,18 @@
+{% extends 'layout.html' %}
+
+{% block content %}
+<article itemscope itemtype="http://schema.org/Article">
+ <div>
+ <h1>{{ entry['title'] }}</h1>
+ <time itemprop="datePublished" datetime="{{ entry['date'] }}">{{ entry['date'] }}</time>
+ </div>
+ <div>
+ {{ content }}
+ </div>
+</article>
+{% if older %}
+<div id="post-nav">
+ <a class="older" href="{{ older['slug'] }}.html">Older</a>
+</div>
+{% endif %}
+{% endblock %}