{{ partial "meta.html" . }} {{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}} {{ .Scratch.Get "title" }} {{ partial "head_includes.html" . }} {{ 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 .Params.chapter }}
{{ end }}
{{ if not .Params.chapter }}

{{.Title}}

{{ end }}