aboutsummaryrefslogtreecommitdiffstats
path: root/templates/show_post.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2017-12-23 16:48:25 +0100
committerHarald Eilertsen <haraldei@anduin.net>2017-12-23 16:48:25 +0100
commitf91bc37b14ec958f67e217ffa65cdf98b8f7417d (patch)
tree9ee7a51249e71629311127605ed3148db5cbe580 /templates/show_post.html
parente5b5a9dc28401815f8e9a68007281d23b3f52825 (diff)
downloadrocket-blog-f91bc37b14ec958f67e217ffa65cdf98b8f7417d.tar.gz
rocket-blog-f91bc37b14ec958f67e217ffa65cdf98b8f7417d.tar.bz2
rocket-blog-f91bc37b14ec958f67e217ffa65cdf98b8f7417d.zip
Implement posts/show handler.
Diffstat (limited to 'templates/show_post.html')
-rw-r--r--templates/show_post.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/show_post.html b/templates/show_post.html
new file mode 100644
index 0000000..5a7d806
--- /dev/null
+++ b/templates/show_post.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>{{ post.title }}</title>
+ </head>
+ <body>
+ <article class="post-teaser">
+ <header>
+ <h1>{{ post.title }}</h1>
+ <div class="post-actions">
+ Edit | Publish | Delete
+ </div>
+ </header>
+ <section class="teaser">
+ {{ post.body }}
+ </section>
+ </article>
+ </body>
+</html>