{{ partialCached "layouts/head/head-js.html" . }} {{ with (templates.Defer (dict "key" "global")) }} {{ $t := debug.Timer "tailwindcss" }} {{ with resources.Get "css/styles.css" }} {{ $light := css.ChromaStyles (dict "targetPath" "css/components/chroma.css" "mode" "light") }} {{ $dark := css.ChromaStyles (dict "targetPath" "css/components/chroma_dark.css" "mode" "dark" "modeSelector" true) }} {{ $opts := dict "minify" (not hugo.IsDevelopment) "importContext" (slice $light $dark) }} {{ with . | css.TailwindCSS $opts }} {{ partial "helpers/linkcss.html" (dict "r" .) }} {{ end }} {{ end }} {{ $t.Stop }} {{ end }} {{ $noop := .WordCount }} {{ if .Page.Store.Get "hasMath" }} {{ end }} {{ partial "layouts/head/head.html" . }} {{ $bodyClass := printf "flex flex-col min-h-full bg-white dark:bg-blue-950 kind-%s" .Kind }} {{ if .Params.searchable }} {{ $bodyClass = printf "%s searchable" $bodyClass }} {{ end }} {{ partial "layouts/hooks/body-start.html" . }} {{/* Layout. */}} {{ block "header" . }} {{ partial "layouts/header/header.html" . }} {{ end }} {{ block "subheader" . }} {{ end }} {{ block "hero" . }} {{ end }}
{{ partial "layouts/hooks/body-main-start.html" . }} {{ block "main" . }}{{ end }}
{{ block "rightsidebar" . }} {{ end }}
{{/* Common icons. */}} {{ partialCached "layouts/icons.html" . }} {{/* Common templates. */}} {{ partialCached "layouts/templates.html" . }} {{/* Footer. */}} {{ block "footer" . }} {{ partialCached "layouts/footer.html" . }} {{ end }} {{ partial "layouts/hooks/body-end.html" . }}