{{- $sourcemap := "" -}} {{- if not hugo.IsProduction -}} {{- $sourcemap = "inline" -}} {{- end -}} {{- $cssoptions := (dict "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) -}} {{- $jsoptions := (dict "minify" (not hugo.IsProduction) "format" "esm" "sourceMap" $sourcemap ) -}} {{- $scss := resources.Get "css/style.scss" | toCSS $cssoptions | fingerprint "sha512" -}} {{- $module := resources.Get "js/index.ts" | js.Build $jsoptions | fingerprint "sha512" -}} {{.Title}} {{- range (slice "description" ) -}} {{- $header := . -}} {{- if in $.Params $header -}} {{- end -}} {{- end -}}
{{ range (slice "light" "dark" "black") }} {{ end }}
{{ if .Site.Menus.main }} {{ end }}
{{ block "main" . }} {{ .Content }} {{ end }}