diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2017-12-23 12:47:56 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2017-12-23 12:47:56 +0100 |
commit | d4f1eb033376fab5074c71558ac796c20026ec19 (patch) | |
tree | 1c00304f68b42b33188c0428a1989e61081762e5 /templates | |
parent | b5a32ebbc86d6b17f4cb00673eb38096fe82defb (diff) | |
download | rocket-blog-d4f1eb033376fab5074c71558ac796c20026ec19.tar.gz rocket-blog-d4f1eb033376fab5074c71558ac796c20026ec19.tar.bz2 rocket-blog-d4f1eb033376fab5074c71558ac796c20026ec19.zip |
Move implement_responder_for macro into crate.
This is so we can use it in other modules too. Besides it makes things
slightly cleaner.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/post_teaser.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/post_teaser.html b/templates/post_teaser.html index 5198400..19a30ec 100644 --- a/templates/post_teaser.html +++ b/templates/post_teaser.html @@ -1,6 +1,9 @@ <article class="post-teaser"> <header> - <h1>{{ .title }}</h1> + <h1><a href="/posts/{{ .id }}">{{ .title }}</a></h1> + <div class="post-actions"> + Edit | Publish | Delete + </div> </header> <section class="teaser"> {{ .body }} |