{{end}}
{{if .breadcrumb}}
{{ breadcrumbs . }}
{{end}}
{{if .title}}
{{if strings.HasPrefix .URL "/wiki/"}}Go Wiki: {{end}}{{.title}}
{{else if eq .layout "error"}}Error
{{else if eq .layout "dir"}}Directory {{breadcrumb .URL}}
{{else if and (eq .layout "texthtml") (strings.HasSuffix .URL ".go")}}Source file {{breadcrumb .URL}}
{{else if eq .layout "texthtml"}}Text file {{breadcrumb .URL}}
{{end}} {{with .subtitle}}{{.}}
{{end}} {{/* The Table of Contents is automatically inserted in this.
Do not delete this
{{end}}
{{if strings.HasPrefix .URL "/wiki/"}}
. */}}
{{if not .hidetoc}}
{{end}}
{{.Content}}
{{if .sidebar }}
{{if eq .sidebar "faq"}}
{{ faqsidebar .}}
{{else if eq .sidebar "bug"}}
{{ bugsidebar .}}
{{end}}
This content is part of the Go Wiki.
{{end}} {{end}} {{define "bugsidebar"}} {{end}} {{define "faqsidebar"}} {{end}}