blob: fec661bba8123a258fd4842916303268c551c591 [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}}
<h1>{{.title}}</h1>
{{.Content}}
{{if .sidebar }}
</div>
{{if eq .sidebar "faq"}}
{{ faqsidebar .}}
{{else if eq .sidebar "bug"}}
{{ bugsidebar .}}
{{end}}
</div>
{{end}}
</article>
{{end}}