aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-14 12:39:50 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-14 12:39:50 +0100
commit0dae37a2e98c13fbc78acd58b86565fd6f14c654 (patch)
tree681be6b03971acca3f57fd30d613909b60aaa984 /templates/index.html
parenta77f6e9d27f98bc36d0911ce58c109f4a18bd835 (diff)
downloadrocket-blog-0dae37a2e98c13fbc78acd58b86565fd6f14c654.tar.gz
rocket-blog-0dae37a2e98c13fbc78acd58b86565fd6f14c654.tar.bz2
rocket-blog-0dae37a2e98c13fbc78acd58b86565fd6f14c654.zip
Split out layout from templates.
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/templates/index.html b/templates/index.html
index 674b867..1b40864 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,10 +1,2 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>{{ title }}</title>
- </head>
- <body>
- <p><a href="/posts/new">Create new post</a></p>
- {{# posts }}{{> post_teaser.html }}{{/ posts }}
- </body>
-</html>
+<p><a href="/posts/new">Create new post</a></p>
+{{# posts }}{{> post_teaser.html }}{{/ posts }}