aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
diff options
context:
space:
mode:
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>