aboutsummaryrefslogtreecommitdiffstats
path: root/templates/post_teaser.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-12 12:16:54 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-12 12:16:54 +0100
commit35112f2357d6510a889c8e20604b11a2c0acf342 (patch)
tree633df7fa174d885925e4445b3e68b164047161ef /templates/post_teaser.html
parent49a06ccbf087c4ed0db3d61f3ac4892f45858ce1 (diff)
downloadrocket-blog-35112f2357d6510a889c8e20604b11a2c0acf342.tar.gz
rocket-blog-35112f2357d6510a889c8e20604b11a2c0acf342.tar.bz2
rocket-blog-35112f2357d6510a889c8e20604b11a2c0acf342.zip
Implement deleting posts.
Diffstat (limited to 'templates/post_teaser.html')
-rw-r--r--templates/post_teaser.html4
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">