diff --git a/layouts/partials/assets.html b/layouts/partials/assets.html index abda23e7..0d77ad3c 100644 --- a/layouts/partials/assets.html +++ b/layouts/partials/assets.html @@ -284,6 +284,9 @@ {{- end -}} {{- dict "Source" (resources.Get "js/theme.js") "Build" $options "Fingerprint" $fingerprint "Defer" true | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} +{{- /* Custom Assets */ -}} +{{- block "custom-assets" . }}{{ end -}} + {{- /* Custom script */ -}} {{- with ((resources.Get "js/custom.js") | default (resources.Get "js/_custom.js")) -}} {{- $options := dict "targetPath" "js/custom.min.js" "minify" hugo.IsProduction -}} @@ -306,6 +309,3 @@ {{- end -}} {{- partial "plugin/analytics.html" . -}} - -{{- /* Custom Assets */ -}} -{{- block "custom-assets" . }}{{ end -}} diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 2ad8c3e6..e36e5bdd 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.8" -}} +{{- .Scratch.Set "version" "v0.3.9-RC" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}