{{define "head"}} {{if ne .Title .BBS}}{{.Title}} - {{end}}{{.BBS}}
{{.BBS}}
The forums of a bulletin board system
{{if .Terminal}}{{end}}
» Welcome {{if .User}}{{.User.Name}}:
| Your profile | Search the posts{{else}}Guest: log in{{if .Register}} | Register{{end}}{{end}}
{{if eq .Notice "welcome"}}
» Thanks for registering! Your account is made, and you are logged in.
{{end}}
{{.BBS}}
{{$n := len .Crumbs}}{{range $i, $c := .Crumbs}}
{{if $c.URL}}{{$c.Name}}{{else}}{{$c.Name}}{{end}}
{{end}}
{{end}} {{define "foot"}}
{{template "themepicker" .}}
{{template "geocredit" .}} {{end}} {{define "pages"}}{{if gt .Total 1}}Multiple pages [ {{$cur := .Cur}}{{$p := .}}{{range .Shown}}{{if eq . 0}}… {{else if eq . $cur}}{{.}} {{else}}{{.}} {{end}}{{end}}]{{else}}Single page{{end}}{{end}}