{{- /* baseof.html (template): Defines the foundational HTML structure (``, ``, ``) for all pages within the Alpha theme. Dependencies: - `partial "head.html"` - `partial "header.html"` - `partial "footer.html"` - `partial "tail/js.html"` - `partial "tail/custom-js.html"` - `partial "tail/icons.html"` - `partial "tail/template.html"` - `partial "ocd/main.html"` Repo: https://github.com/oxypteros/alpha */ -}} {{ partial "head.html" . }} {{ partial "header.html" . }}
{{- block "main" . }}{{ end }}
{{ partial "footer.html" . }} {{- /* Conditional snackbar for cookie notice */}} {{- if eq .Site.Params.noCookies_snackbar true }}
{{- end }} {{- /* Conditional container for visitor settings/preferences */}} {{- if eq .Site.Params.visitor_settings true }}
{{- end }} {{- /* Live region for screen reader announcements */}}
{{- /* Tail partials: scripts, icons and templates loaded at the end of the body */}} {{- partial "tail/js.html" . }} {{- partial "tail/custom-js.html" . }} {{- partial "tail/icons.html" . }} {{- partial "tail/template.html" . }} {{- /* OCD partial, loaded strictly for dev. mode and locally */}} {{- if and (eq hugo.Environment "development") (hugo.IsServer) (eq .Page.Site.Params.ocd_enabled true ) }} {{ partial "ocd/main.html" . }} {{- end }}