{{- $lang := or site.Language.LanguageCode site.Language.Lang }} {{- $dir := or site.Language.LanguageDirection "ltr" }} {{ partial "head.html" . }} {{ block "head" . }}{{ end }} {{- if not .Params.Headless }} {{ partial "header.html" . }} {{ block "aside" . }}{{ end }} {{ "" | safeHTML }}
{{ partial "main/header.html" . }} {{ block "main" . }}{{ end }} {{ partialCached "main/footer.html" . }}
{{ partialCached "footer.html" . }} {{ block "post" . }}{{ end }} {{ "" | safeHTML }} {{ partialCached "background.html" . }} {{- end }} {{- define "partials/background.html" -}} {{- end }}