{{ if eq site.Data.doks.colorMode "auto" -}} {{ partial "footer/esbuild" (dict "src" "js/color-mode.js" "transpile" false) -}} {{ end -}} {{- if and (site.Data.doks.alert) (site.Data.doks.alertDismissable) -}} {{ partial "footer/esbuild" (dict "src" "js/dismissable-alert.js" "transpile" false) -}} {{- end -}}