diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2017-12-23 16:48:25 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2017-12-23 16:48:25 +0100 |
commit | f91bc37b14ec958f67e217ffa65cdf98b8f7417d (patch) | |
tree | 9ee7a51249e71629311127605ed3148db5cbe580 /templates | |
parent | e5b5a9dc28401815f8e9a68007281d23b3f52825 (diff) | |
download | rocket-blog-f91bc37b14ec958f67e217ffa65cdf98b8f7417d.tar.gz rocket-blog-f91bc37b14ec958f67e217ffa65cdf98b8f7417d.tar.bz2 rocket-blog-f91bc37b14ec958f67e217ffa65cdf98b8f7417d.zip |
Implement posts/show handler.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_post.html | 19 |
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> |