From 950dac7b9cbbb3fffa23aa6092fa7ebf6fb7dc2c Mon Sep 17 00:00:00 2001 From: Will Faught Date: Thu, 29 Dec 2022 22:13:02 -0800 Subject: [PATCH] Minify and fingerprint local Bootstrap files --- layouts/partials/paige-link.html | 8 ++++++++ layouts/partials/paige-script.html | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/layouts/partials/paige-link.html b/layouts/partials/paige-link.html index 3ac6b5e7..14d1280c 100644 --- a/layouts/partials/paige-link.html +++ b/layouts/partials/paige-link.html @@ -9,12 +9,20 @@ {{ with .Site.Params.paige.bootstrap.styles_path }} +{{ with resources.Get (relLangURL .) }} + +{{ else }} +{{ end }} {{ else }} {{ end }} {{ with .Site.Params.paige.bootstrap.icons_path }} +{{ with resources.Get (relLangURL .) }} + +{{ else }} +{{ end }} {{ else }} {{ end }} diff --git a/layouts/partials/paige-script.html b/layouts/partials/paige-script.html index 998a5a7a..7868ddc4 100644 --- a/layouts/partials/paige-script.html +++ b/layouts/partials/paige-script.html @@ -18,7 +18,11 @@ resize(); addEventListener("resize", resize); {{ with .Site.Params.paige.bootstrap.scripts_path }} +{{ with resources.Get (relLangURL .) }} + +{{ else }} +{{ end }} {{ else }} {{ end }}