aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2017-11-21 23:21:01 +0100
committerHarald Eilertsen <haraldei@anduin.net>2017-11-22 10:57:35 +0100
commit2e98f140e810d5271258df6905e744737734c666 (patch)
tree46f703681acfe4692dbbcd1d35a76c3856009ef3 /templates/index.html
parentbeede75cefd5ae52c2d81b7f183cfa41953b09a4 (diff)
downloadrocket-blog-2e98f140e810d5271258df6905e744737734c666.tar.gz
rocket-blog-2e98f140e810d5271258df6905e744737734c666.tar.bz2
rocket-blog-2e98f140e810d5271258df6905e744737734c666.zip
Add handlers for creating new Posts.
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 2a3a95b..674b867 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -4,6 +4,7 @@
<title>{{ title }}</title>
</head>
<body>
+ <p><a href="/posts/new">Create new post</a></p>
{{# posts }}{{> post_teaser.html }}{{/ posts }}
</body>
</html>