aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-02-16 22:22:08 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-02-16 22:22:08 +0100
commitdeaffdc77ae56e84247284de4339fcc2cdb30b86 (patch)
treef6f0552081112ea65091c4b42773c4d1d64d0181
parent2d98f832f026955826a29a179ccf96cd8d6343a9 (diff)
kiss
-rw-r--r--tmpl/root8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmpl/root b/tmpl/root
index 04b60da..ad3d243 100644
--- a/tmpl/root
+++ b/tmpl/root
@@ -31,10 +31,10 @@
<header>
<h1>{{template "title" .}}</h1>
<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}}
+ <a href="/">root</a> |
+ <a href="/index">index</a> |
+ <a href="/edit/{{.Title}}">edit</a> |
+ <a href="/del/{{.Title}}">delete</a>
</nav>
</header>
{{template "content" .}}