From 15ac97e656c8d980456938442bba4e02f9672403 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 2 Feb 2022 00:18:42 -0600 Subject: [PATCH] Replace my old hosted FitText.js with my new hosted FitText.js --- assets/node/package-lock.json | 5 +++++ layouts/_default/baseof.html | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) 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 }} -