aboutsummaryrefslogtreecommitdiffstats
path: root/views/index.twig
diff options
context:
space:
mode:
authorFran├žois Kooman <fkooman@tuxed.net>2016-06-01 08:54:07 +0200
committerFran├žois Kooman <fkooman@tuxed.net>2016-06-01 08:54:07 +0200
commit13feb3f7680723e9ab9c3a889eeeb5f25cc97490 (patch)
tree2320ba9982640181fd640fbc0e713ddde84342dd /views/index.twig
downloadwww.tuxed.net-13feb3f7680723e9ab9c3a889eeeb5f25cc97490.zip
www.tuxed.net-13feb3f7680723e9ab9c3a889eeeb5f25cc97490.tar.gz
www.tuxed.net-13feb3f7680723e9ab9c3a889eeeb5f25cc97490.tar.xz
initial commit
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' %}