{/* This is the article template. It defines how articles are formatted. */} {{define "root"}} {{.Title}}
{{.Title}} {{with .Subtitle}}{{.}}{{end}}
{{with .Sections}}
{{template "TOC" .}}
{{end}} {{range .Sections}} {{elem $.Template .}} {{end}}{{/* of Section block */}} {{if .Authors}}

Authors

{{range .Authors}}
{{range .Elem}}{{elem $.Template .}}{{end}}
{{end}} {{end}}
{{end}} {{define "TOC"}} {{end}} {{define "newline"}} {{/* No automatic line break. Paragraphs are free-form. */}} {{end}}