diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-01-12 12:16:54 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-01-12 12:16:54 +0100 |
commit | 35112f2357d6510a889c8e20604b11a2c0acf342 (patch) | |
tree | 633df7fa174d885925e4445b3e68b164047161ef /templates | |
parent | 49a06ccbf087c4ed0db3d61f3ac4892f45858ce1 (diff) | |
download | rocket-blog-35112f2357d6510a889c8e20604b11a2c0acf342.tar.gz rocket-blog-35112f2357d6510a889c8e20604b11a2c0acf342.tar.bz2 rocket-blog-35112f2357d6510a889c8e20604b11a2c0acf342.zip |
Implement deleting posts.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/post_teaser.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/post_teaser.html b/templates/post_teaser.html index 751f4ea..482cf73 100644 --- a/templates/post_teaser.html +++ b/templates/post_teaser.html @@ -2,7 +2,9 @@ <header> <h1><a href="/posts/{{ .id }}">{{ .title }}</a></h1> <div class="post-actions"> - <a href="/posts/{{ .id }}/edit">Edit</a> | Publish | Delete + <a href="/posts/{{ .id }}/edit">Edit</a> | + Publish | + <a href="/posts/{{ .id }}/delete">Delete</a> </div> </header> <section class="teaser"> |