blob: 8f3164c32acde82af31df03f2323c173589c7171 [file] [log] [blame]
{{define "layout"}}
<article class="Article {{with section .}}Article--{{strings.Trim . "/"}}{{end}}">
{{if .sidebar }}
<div class="Article-columns">
<div class="Article-content">
{{end}}
{{- if .breadcrumb}}
{{ breadcrumbs . }}
{{- end}}
<h1>{{.title}}</h1>
{{.Content}}
{{if .sidebar }}
</div>
{{if eq .sidebar "faq"}}
{{ faqsidebar .}}
{{else if eq .sidebar "bug"}}
{{ bugsidebar .}}
{{end}}
</div>
{{end}}
</article>
{{end}}