aboutsummaryrefslogtreecommitdiff
path: root/tmpl/view
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-08-17 05:52:10 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-08-17 05:52:10 +0200
commit4b0a84280ea990cbe1219567a80a61a1008d8920 (patch)
tree43f63e6e0e1c00453a409d0466b8d922e5cd7cad /tmpl/view
parent1a5503aabaa62f2921bc5751aa15b8a16583d2b5 (diff)
parent910f3461f9bf7b8f032e0681dc2675d06cc99296 (diff)
Merge branch 'master' of dim13.org:gowiki
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}}