diff --git a/wowchemy/layouts/partials/site_js.html b/wowchemy/layouts/partials/site_js.html index 98982941..d3fea22d 100644 --- a/wowchemy/layouts/partials/site_js.html +++ b/wowchemy/layouts/partials/site_js.html @@ -102,7 +102,8 @@ {{end}} - {{ $js_bootstrap := resources.Get "js/_vendor/bootstrap.bundle.min.js" }} + {{/* Rename as GitHub Pages doesn't automatically publish folders with underscores. */}} + {{ $js_bootstrap := slice (resources.Get "js/_vendor/bootstrap.bundle.min.js") | resources.Concat "js/bootstrap.bundle.min.js" }} {{- if hugo.IsProduction -}} {{ $js_bootstrap = $js_bootstrap | fingerprint "md5" }}{{/* Note: no `minify` as using pre-minified JS. */}} {{- end -}}