aboutsummaryrefslogtreecommitdiffstats
path: root/templates/post_teaser.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-01-12 12:43:03 +0100
committerHarald Eilertsen <haraldei@anduin.net>2018-01-12 12:43:03 +0100
commita77f6e9d27f98bc36d0911ce58c109f4a18bd835 (patch)
treed88d91a956e8107871d3bc8e1b8bf994579b90d3 /templates/post_teaser.html
parent35112f2357d6510a889c8e20604b11a2c0acf342 (diff)
downloadrocket-blog-a77f6e9d27f98bc36d0911ce58c109f4a18bd835.tar.gz
rocket-blog-a77f6e9d27f98bc36d0911ce58c109f4a18bd835.tar.bz2
rocket-blog-a77f6e9d27f98bc36d0911ce58c109f4a18bd835.zip
Move post actions to partial.
Diffstat (limited to 'templates/post_teaser.html')
-rw-r--r--templates/post_teaser.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/post_teaser.html b/templates/post_teaser.html
index 482cf73..4d412ba 100644
--- a/templates/post_teaser.html
+++ b/templates/post_teaser.html
@@ -1,11 +1,7 @@
<article class="post-teaser">
<header>
<h1><a href="/posts/{{ .id }}">{{ .title }}</a></h1>
- <div class="post-actions">
- <a href="/posts/{{ .id }}/edit">Edit</a> |
- Publish |
- <a href="/posts/{{ .id }}/delete">Delete</a>
- </div>
+ {{> post_actions.html }}
</header>
<section class="teaser">
{{ .body }}