aboutsummaryrefslogtreecommitdiff
path: root/static/main.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/main.html')
-rw-r--r--static/main.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/main.html b/static/main.html
index 00b395f..ba7e7f5 100644
--- a/static/main.html
+++ b/static/main.html
@@ -86,7 +86,9 @@
<ul style="display: inline; padding:0;">
{{ $l := len .Boards }}
{{range $i, $e := .Boards}}
- {{ if eq $i 0 }}
+ {{ if eq (sub $l 1) 0 }}
+ <li style="display: inline;">[ <a href="{{.Location}}">{{$e.Name}} </a>]</li>
+ {{ else if eq $i 0 }}
<li style="display: inline;">[<a href="{{.Location}}">{{$e.Name}} </a>/</li>
{{ else if eq $i (sub $l 1) }}
<li style="display: inline;"><a href="{{.Location}}">{{$e.Name}}</a>]</li>