{{define "seo"}} {{ with .Content.Doc.Meta.Type }} {{ else }} {{ end }} {{ with .Content.Doc.Meta.Description }} {{ end }} {{ with .Content.Doc.Meta.Category }} {{ end }} {{ if and .Content.Path hasRootURL }} {{ with .Content.Path }} {{ end }} {{ end }} {{ if .Content.Doc.Meta.Tags }} {{ range $i, $tag:= .Content.Doc.Meta.Tags }} {{ end }} {{ end }} {{ with .Content.Doc.Meta.ImageURL }} {{ end }} {{end}} {{define "title"}} {{with .Content}}{{.Doc.Title}}{{else}}Error{{end}} {{end}} {{define "head"}} {{if (or (not .Content) .ContentVersion)}}{{end}} {{end}} {{define "content"}} {{with .Content}} {{end}}
{{with .Content}}
{{markdown .}}
{{else}} {{if .ContentVersionNotFoundError}}

Version not found

The version {{.ContentVersion}} was not found.

Click here to view the latest version of this page instead.

{{else if .ContentPageNotFoundError}}

Page not found

The page {{.ContentPagePath}} was not found.

{{else}}

Unexpected error

{{end}} {{end}}
{{end}} {{define "index"}} {{with (or (and (eq (len .Doc.Tree) 1) (index .Doc.Tree 0).Children) .Doc.Tree)}}

{{$.Doc.Title}}

On this page:

{{end}} Edit this page {{end}} {{define "doc_nav"}} {{range .}}
  • {{.Title}} {{with .Children}} {{end}} {{end}} {{end}}