diff --git a/assets/node/package-lock.json b/assets/node/package-lock.json index 15b0a9b..6797083 100644 --- a/assets/node/package-lock.json +++ b/assets/node/package-lock.json @@ -17,6 +17,11 @@ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", "integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==" }, + "fittext.js": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fittext.js/-/fittext.js-1.2.0.tgz", + "integrity": "sha1-51PVJjI5I30o8wFeipaUVpu0PLY=" + }, "jquery": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c943c1a..1531f81 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -223,13 +223,13 @@ - {{ $jqueryjs := resources.Get "node/node_modules/jquery/dist/jquery.js" }} - {{ $popperjs := resources.Get "node/node_modules/@popperjs/core/dist/umd/popper.js" }} - {{ $twbsjs := resources.Get "node/node_modules/bootstrap/dist/js/bootstrap.js" }} - {{ $fajs := resources.Get "node/node_modules/@fortawesome/fontawesome-pro/js/all.js" }} - {{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs | resources.Concat "js/bundle.js" | minify | fingerprint }} + {{ $jqueryjs := resources.Get "node/node_modules/jquery/dist/jquery.js" }} + {{ $popperjs := resources.Get "node/node_modules/@popperjs/core/dist/umd/popper.js" }} + {{ $twbsjs := resources.Get "node/node_modules/bootstrap/dist/js/bootstrap.js" }} + {{ $fajs := resources.Get "node/node_modules/@fortawesome/fontawesome-pro/js/all.js" }} + {{ $fittextjs := resources.Get "node/node_modules/fittext.js/jquery.fittext.js" }} + {{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs $fittextjs | resources.Concat "js/bundle.js" | minify | fingerprint }} -