aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
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/root
parent1a5503aabaa62f2921bc5751aa15b8a16583d2b5 (diff)
parent910f3461f9bf7b8f032e0681dc2675d06cc99296 (diff)
Merge branch 'master' of dim13.org:gowiki
Diffstat (limited to 'tmpl/root')
-rw-r--r--tmpl/root5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmpl/root b/tmpl/root
index 093ad19..c357ad1 100644
--- a/tmpl/root
+++ b/tmpl/root
@@ -10,10 +10,7 @@
<body>
<nav>
<span>{{template "title" .}}</span>
- {{with .Title -}}
- <a href="/edit/{{.}}" title="edit {{.}}"><i class="fa fa-pencil"></i></a>
- <!--a href="/del/{{.}}" title="delete {{.}}"><i class="fa fa-trash"></i></a-->
- {{- end}}
+ {{template "action" .}}
<a href="/" title="home"><i class="fa fa-home"></i></a>
<a href="/index" title="index"><i class="fa fa-list"></i></a>
</nav>