diff --git a/layouts/partials/footer/instant_page.html b/layouts/partials/footer/instant_page.html index 2b877de..dadec0f 100644 --- a/layouts/partials/footer/instant_page.html +++ b/layouts/partials/footer/instant_page.html @@ -1,5 +1,11 @@ {{/* instant.page | Thanks: https://instant.page/ */}} -{{- with resources.Get "js/instantpage.js" | fingerprint -}} - +{{- with slice (resources.Get "js/instantpage.js") | resources.Concat "assets/js/instantpage.min.js" | fingerprint -}} + {{- end -}} diff --git a/layouts/partials/head/css/chroma_css.html b/layouts/partials/head/css/chroma_css.html index e375781..c80f4cb 100644 --- a/layouts/partials/head/css/chroma_css.html +++ b/layouts/partials/head/css/chroma_css.html @@ -17,17 +17,28 @@ $chroma_tweak $codeblock_file_name ) - | resources.Concat "css/chroma/chroma_all.css" + | resources.Concat "assets/css/chroma/chroma_all.css" -}} {{- with $chroma_css | toCSS | minify | fingerprint -}} - + {{- end -}} {{/* chroma css for noscript */}} diff --git a/layouts/partials/head/goatcounter.html b/layouts/partials/head/goatcounter.html index 719c927..b17aba3 100644 --- a/layouts/partials/head/goatcounter.html +++ b/layouts/partials/head/goatcounter.html @@ -5,7 +5,7 @@ {{- $goatcounter_license_body := "// GoatCounter: https://www.goatcounter.com\n// This file (and *only* this file) is released under the ISC license:\n// https://opensource.org/licenses/ISC\n" -}} {{- $goatcounter_license := $goatcounter_license_body | resources.FromString "js/goatcounter_license.js" -}} {{- $goatcounter := (resources.Get "js/goatcounter.js") | minify -}} - {{- $goatcounter_bundled := (slice $goatcounter_license $goatcounter) | resources.Concat "js/goatcounter.js" -}} + {{- $goatcounter_bundled := (slice $goatcounter_license $goatcounter) | resources.Concat "assets/js/goatcounter.min.js" -}} {{- with $goatcounter_bundled | fingerprint -}}