{{if .Highlight}}
{{end}}
{{if .Browser -}}
{{- end}} {{with .Doc.Title}}
{{.}}
{{end -}} {{with .Doc.Links -}}
Links
{{- range .}}
{{with .Name}}{{.}}{{else}}{{.URL}}{{end}}
{{- end}}
{{- end -}} {{with .Site -}}
Sitemap
{{- block "site" . -}}
{{- range . -}}
{{.Name}}
{{- template "site" .Children -}}
{{- end -}}
{{- end -}}
{{- end -}} {{if .Toc.Children -}}
Table of Contents
{{- range .Toc.Children -}} {{- block "toc" . -}} {{- inc .Title -}}
{{- if $l := lanchor -}}
{{.Title}}
{{- else -}}
{{.Title}}
{{- end -}} {{- with .Children -}}
{{- range . -}} {{- template "toc" . -}} {{- end -}}
{{- end -}}
{{- dec -}} {{- end -}} {{- end -}} {{- rst -}}
{{- end}}
{{- with .Doc.Content}} {{- range .Children}} {{- template "content.html" .}} {{- end}}{{end}}
{{if .Highlight}} {{end}}