aboutsummaryrefslogtreecommitdiffstats
path: root/views/index.twig
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.twig')
-rw-r--r--views/index.twig18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/index.twig b/views/index.twig
new file mode 100644
index 0000000..bef8660
--- /dev/null
+++ b/views/index.twig
@@ -0,0 +1,18 @@
+{% include 'header.twig' %}
+<p>{{ blogDescription|e }}</p>
+
+<h2>{{ pageTitle|e }}</h2>
+<ul>
+{% for post in postsList %}
+<li>
+ [{{post.published|e }}] <a href="{{post.fileName|e }}">{{ post.title|e }}</a>
+</li>
+{% endfor %}
+</ul>
+
+<h3>Author</h3>
+<p>
+Mail <a href="mailto:{{ blogAuthorMail|e }}">{{ blogAuthor|e }}</a>, or Twitter <a href="https://twitter.com/{{ blogAuthorTwitter|e }}">@{{ blogAuthorTwitter|e }}</a>
+</p>
+
+{% include 'footer.twig' %}