{{ if .IsPage }}
{{ else }}
{{ end }} {{ if .IsHome -}}
{{ .Site.Title }}
{{- else -}}
{{ .Title }}{{ with .Params.subtitle }} - {{ . }} {{ end }} - {{ .Site.Title }}
{{- end }}
{{ block "header" . }} {{ partial "header" . }} {{ end }} {{ block "main" . }} {{ end }} {{ block "footer" . }} {{ partial "footer" . }} {{ end }}