{{define "layout"}} {{trs .Page.Title}} {{range .Site.Languages}} {{end}} {{template "nav" .}}
{{range .Page.Sections}}{{template "section" .}} {{end}} {{template "pager" .}}
{{template "footer" .}} {{end}} {{define "section"}}{{if eq .Type "hero"}}{{template "hero" .}}{{else if eq .Type "feature"}}{{template "feature" .}}{{else if eq .Type "showcase"}}{{template "showcase" .}}{{else if eq .Type "lit"}}{{template "lit" .}}{{else if eq .Type "stats"}}{{template "stats" .}}{{else if eq .Type "cards"}}{{template "cards" .}}{{else if eq .Type "bento"}}{{template "bento" .}}{{else if eq .Type "apps"}}{{template "apps" .}}{{else if eq .Type "specs"}}{{template "specs" .}}{{else if eq .Type "install"}}{{template "install" .}}{{else if eq .Type "steps"}}{{template "steps" .}}{{else if eq .Type "cta"}}{{template "cta" .}}{{else if eq .Type "notice"}}{{template "notice" .}}{{else if eq .Type "doc"}}{{template "doc" .}}{{else}}{{fail (print "unknown section type " .Type)}}{{end}}{{end}} {{define "theme-buttons"}}{{end}} {{define "lang-links"}}{{range .Site.Languages}}{{.Name}}{{end}}{{end}} {{define "nav"}}{{end}} {{define "pager"}}{{if or .Prev .Next}}{{end}}{{end}} {{define "footer"}}{{end}}