diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-01-14 12:39:50 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-01-14 12:39:50 +0100 |
commit | 0dae37a2e98c13fbc78acd58b86565fd6f14c654 (patch) | |
tree | 681be6b03971acca3f57fd30d613909b60aaa984 /templates/show_post.html | |
parent | a77f6e9d27f98bc36d0911ce58c109f4a18bd835 (diff) | |
download | rocket-blog-0dae37a2e98c13fbc78acd58b86565fd6f14c654.tar.gz rocket-blog-0dae37a2e98c13fbc78acd58b86565fd6f14c654.tar.bz2 rocket-blog-0dae37a2e98c13fbc78acd58b86565fd6f14c654.zip |
Split out layout from templates.
Diffstat (limited to 'templates/show_post.html')
-rw-r--r-- | templates/show_post.html | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/templates/show_post.html b/templates/show_post.html index 31c2ca3..9e633cc 100644 --- a/templates/show_post.html +++ b/templates/show_post.html @@ -1,19 +1,11 @@ -<!DOCTYPE html> -<html> - <head> - <title>{{ post.title }}</title> - </head> - <body> - <article class="post-teaser"> - {{# post. }} - <header> - <h1>{{ .title }}</h1> - {{> post_actions.html }} - </header> - <section class="teaser"> - {{ .body }} - </section> - {{/ post }} - </article> - </body> -</html> +<article class="post-teaser"> + {{# post. }} + <header> + <h1>{{ .title }}</h1> + {{> post_actions.html }} + </header> + <section class="teaser"> + {{ .body }} + </section> + {{/ post }} +</article> |