diff --git a/site/layouts/partials/head/bootstrap.html b/site/layouts/partials/head/bootstrap.html index 6f89e3e..09b41b5 100644 --- a/site/layouts/partials/head/bootstrap.html +++ b/site/layouts/partials/head/bootstrap.html @@ -1,7 +1,7 @@ {{ if hugo.IsProduction }} -{{ $bootstrap := resources.Get "js/bootstrap.bundle.min.js" }} +{{ $bootstrap := resources.Get "js/bootstrap.bundle.min.js" | fingerprint }} - + {{ else }} {{ $bootstrap := resources.Get "js/bootstrap.bundle.js" }} diff --git a/site/layouts/partials/head/infinite-engine.html b/site/layouts/partials/head/infinite-engine.html index b61d59a..5523f03 100644 --- a/site/layouts/partials/head/infinite-engine.html +++ b/site/layouts/partials/head/infinite-engine.html @@ -1,2 +1,2 @@ -{{ $engine := resources.Get "js/InfiniteEngine.js" }} - \ No newline at end of file +{{ $engine := resources.Get "js/InfiniteEngine.js" | fingerprint }} + \ No newline at end of file diff --git a/site/layouts/partials/scripts.html b/site/layouts/partials/scripts.html index 19f361f..57ec439 100644 --- a/site/layouts/partials/scripts.html +++ b/site/layouts/partials/scripts.html @@ -30,5 +30,5 @@ })(); -{{ $js := resources.Get "js/script.js" | minify }} - \ No newline at end of file +{{ $js := resources.Get "js/script.js" | minify | fingerprint }} + \ No newline at end of file