{{ .Hugo.Generator }} {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if eq .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}} {{ .Scratch.Get "title" }} {{ partial "style.html" . }} {{ $isChapter := or (eq .Kind "section") (.Params.chapter)}} {{ partial "menu.html" . }}
{{ if and .IsPage .Site.Params.editURL }} {{ $File := .File }} {{ $Site := .Site }} {{with $File.Path }} {{ end }} {{ end }} {{ if .Params.toc }} {{ partial "toc.html" . }} {{ end }}
{{ if $isChapter }}
{{ end }}
{{ if not $isChapter }}

{{.Title}}

{{ end }}