aboutsummaryrefslogtreecommitdiff
path: root/tmpl/view
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/view')
-rw-r--r--tmpl/view3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmpl/view b/tmpl/view
index 68a4c4f..c816e34 100644
--- a/tmpl/view
+++ b/tmpl/view
@@ -1,2 +1,5 @@
{{define "title"}}{{.Title}}{{end}}
{{define "content"}}{{.HTML}}{{end}}
+{{define "action"}}
+<a href="/edit/{{.Title}}" title="edit {{.Title}}"><i class="fa fa-pencil"></i></a>
+{{end}}