aboutsummaryrefslogtreecommitdiff
path: root/static/main.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/main.html')
-rw-r--r--static/main.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/static/main.html b/static/main.html
index 76f7a1e..1f7cc2f 100644
--- a/static/main.html
+++ b/static/main.html
@@ -19,18 +19,18 @@
{{ template "header" . }}
</head>
<body {{ if not .Board.Restricted }}class="nsfw"{{ end }} onload="applyTheme()">
- <ul style="display: inline; padding:0;">
+ <ul id="boardlinks">
{{ $l := len .Boards }}
- <li style="display: inline;">[<a href="/">Home</a>]</li>
+ <li>[<a href="/">Home</a>]</li>
{{range $i, $e := .Boards}}
{{ if eq (sub $l 1) 0 }}
- <li style="display: inline;">[ <a href="{{.Location}}">{{$e.Name}} </a>]</li>
+ <li>[ <a href="{{.Location}}">{{$e.Name}} </a>]</li>
{{ else if eq $i 0 }}
- <li style="display: inline;">[<a href="{{.Location}}">{{$e.Name}} </a>/</li>
+ <li>[<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>
+ <li><a href="{{.Location}}">{{$e.Name}}</a>]</li>
{{ else }}
- <li style="display: inline;"><a href="{{.Location}}">{{$e.Name}} </a>/</li>
+ <li><a href="{{.Location}}">{{$e.Name}} </a>/</li>
{{ end }}
{{end}}
</ul>