aboutsummaryrefslogtreecommitdiff
path: root/tmpl/root
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/root')
-rw-r--r--tmpl/root7
1 files changed, 6 insertions, 1 deletions
diff --git a/tmpl/root b/tmpl/root
index ae31e36..15e0ba7 100644
--- a/tmpl/root
+++ b/tmpl/root
@@ -18,7 +18,12 @@
<section>
<header>
<h1>{{template "title" .}}</h1>
-<nav><a href="/">root</a> <a href="/index">index</a> {{with .Title}}<a href="/edit/{{.}}">edit</a>{{end}}</nav>
+<nav>
+ <a href="/">root</a>
+ <a href="/index">index</a>
+ {{with .Title}}<a href="/edit/{{.}}">edit</a>{{end}}
+ {{with .Title}}<a href="/del/{{.}}">delete</a>{{end}}
+</nav>
</header>
{{template "content" .}}
</section>