From 73bda55c3626b5e4f8c2f652596d2da9cdcf9506 Mon Sep 17 00:00:00 2001 From: Nicolas PELLEGRIN Date: Mon, 21 Oct 2024 11:38:20 +0200 Subject: [PATCH] :bug: Fix CSS/JS URLs reference to support deployment in a subdirectory --- layouts/partials/head.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3e55c670..6fa7d7ff 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -69,9 +69,9 @@ {{- if not site.Params.assets.disableFingerprinting }} {{- $stylesheet := $stylesheet | fingerprint }} - + {{- else }} - + {{- end }} {{- /* Search */}} @@ -82,10 +82,10 @@ {{- $license_js := resources.Get "js/license.js" }} {{- if not site.Params.assets.disableFingerprinting }} {{- $search := (slice $fusejs $license_js $fastsearch ) | resources.Concat "assets/js/search.js" | fingerprint }} - + {{- else }} {{- $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" }} - + {{- end }} {{- end -}}