{{define "topbar" -}}
<div id="topbar">
	<div class="topbar-section"><a href="{{webPathDir "/"}}" class="topbar-item">home</a></div>
	{{- range $s, $section := $.sections -}}
		<div class="topbar-section">
		{{- with $sectionBoards := sectionBoards $section.ID -}}
			{{range $b, $board := $sectionBoards -}}
				<a href="{{webPathDir $board.Dir}}" class="topbar-item" title="{{$board.Title}}">/{{$board.Dir}}/</a>
			{{- end -}}
		{{- end -}}
		</div>
	{{- end -}}
</div>
{{- end -}}