From c3629f9cf611653c30cf6599a243a8ac1af59928 Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:09:50 -0400 Subject: [PATCH 1/9] Update .eleventy.js Add a passThroughCopy to take stuff from `_img/favicon` folder and put them in the root of the built site. --- .eleventy.js | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index 2cf00ac6..df8b62b4 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -13,11 +13,34 @@ const { imageShortcode, imageWithClassShortcode } = require('./config'); module.exports = function (config) { // Set pathPrefix for site - let pathPrefix = '/'; + let pathPrefix = '/';22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 + // Copy the `admin` folders to the output config.addPassthroughCopy('admin'); + // for #80 (update site favicon) + // copy files from `_img/favicon/` to `_site/` + eleventyConfig.addPassthroughCopy({ "_img/favicon": "/" }); + // Copy USWDS init JS so we can load it in HEAD to prevent banner flashing config.addPassthroughCopy({'./node_modules/@uswds/uswds/dist/js/uswds-init.js': 'assets/js/uswds-init.js'}); From f4357ea451974a14e99b8aea3f6df9928ef5c4ba Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:11:59 -0400 Subject: [PATCH 2/9] Add files via upload --- _img/jointts_favicon.ico | Bin 0 -> 67646 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 _img/jointts_favicon.ico diff --git a/_img/jointts_favicon.ico b/_img/jointts_favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..c8c9f1c097e1d289f1d6361b73ab3c78a5547654 GIT binary patch literal 67646 zcmeI5F>hQ&5XUc6d;)}obG|Zlk^)B%=L=BKIFwY7G)AH(;#q-15kd>dm6ZZW z%Gg0fpwK}}sI15CT~0b#ng6VA?%liR{arHL<%Zce`=9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2{OjKTCH}-ek{{#s z{n+zk$p5j40{+8)_#flYkgefA{8#+<>g#>q|L@iJy`TSnJoq}@|NoyOFV5{V0=(xx ztG%7MPK}>3oqfI|YCreUdcS?`^LBFM4_kJBckaJcwc)G_)`x@pyWZY1@hAT3{u+xn zi{F=VRPDpTf0L*1U+&+|#-2TX7RTwUK9m3T^WR^E+1c;lzghz@|NG;^=C5y?=M~%j z>{vbfZ}<=Y>t6rA_2G9{whnE%m~>rB^!m%&-`crzxV`&K$kW5^caH;dl59N@?e8XA zPXhjpc!2;2fB*=900@8p2!H?xfB*=900@8p2!H?xfB*=900@8p2!H?xfB*=900@8p s2!H?xfB*=900;~Yfg#_!ya~P!F5ox}0w4ea14W=Y Date: Tue, 30 Jul 2024 13:13:47 -0400 Subject: [PATCH 3/9] Rename _img/jointts_favicon.ico to _img/favicon/favicon.ico Do it right this time. --- _img/{jointts_favicon.ico => favicon/favicon.ico} | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename _img/{jointts_favicon.ico => favicon/favicon.ico} (100%) diff --git a/_img/jointts_favicon.ico b/_img/favicon/favicon.ico similarity index 100% rename from _img/jointts_favicon.ico rename to _img/favicon/favicon.ico From 04a900b9b669f61b4415429b5677e447bb682d60 Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:15:42 -0400 Subject: [PATCH 4/9] Update meta.html Add the HTML to make the favicon thingee work. :crossed_fingers: --- _includes/meta.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_includes/meta.html b/_includes/meta.html index 574eb742..296f05a7 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -38,4 +38,7 @@ ================================================== --> + + + From 3f6ff0d5d497490ea93eaac1cfe0f1f5d38bd606 Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:20:23 -0400 Subject: [PATCH 5/9] Remove errant integers, fix config variable name --- .eleventy.js | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index df8b62b4..ed2f4b1a 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -13,33 +13,13 @@ const { imageShortcode, imageWithClassShortcode } = require('./config'); module.exports = function (config) { // Set pathPrefix for site - let pathPrefix = '/';22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 - - + let pathPrefix = '/'; // Copy the `admin` folders to the output config.addPassthroughCopy('admin'); // for #80 (update site favicon) // copy files from `_img/favicon/` to `_site/` - eleventyConfig.addPassthroughCopy({ "_img/favicon": "/" }); + config.addPassthroughCopy({ "_img/favicon": "/" }); // Copy USWDS init JS so we can load it in HEAD to prevent banner flashing config.addPassthroughCopy({'./node_modules/@uswds/uswds/dist/js/uswds-init.js': 'assets/js/uswds-init.js'}); From f93998e917f9f839e1c50fafdb96431fd0930008 Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:31:26 -0400 Subject: [PATCH 6/9] Tell the HTML to use the assetPath --- _includes/meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/meta.html b/_includes/meta.html index 296f05a7..93437935 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -40,5 +40,5 @@ - + From 2b45f385df96e2d7d6835374dd05b101c787af5c Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:33:38 -0400 Subject: [PATCH 7/9] Update .eleventy.js --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index ed2f4b1a..b00b5366 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -19,7 +19,7 @@ module.exports = function (config) { // for #80 (update site favicon) // copy files from `_img/favicon/` to `_site/` - config.addPassthroughCopy({ "_img/favicon": "/" }); + config.addPassthroughCopy({ "_img/favicon.ico": "/assets/_img/favicon/favicon.ico" }); // Copy USWDS init JS so we can load it in HEAD to prevent banner flashing config.addPassthroughCopy({'./node_modules/@uswds/uswds/dist/js/uswds-init.js': 'assets/js/uswds-init.js'}); From 230fdc88d01404ea597617a6b9e8ed657f7e0abe Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:36:57 -0400 Subject: [PATCH 8/9] Update .eleventy.js --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index b00b5366..179b240f 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -19,7 +19,7 @@ module.exports = function (config) { // for #80 (update site favicon) // copy files from `_img/favicon/` to `_site/` - config.addPassthroughCopy({ "_img/favicon.ico": "/assets/_img/favicon/favicon.ico" }); + config.addPassthroughCopy({ "_img/favicon/favicon.ico": "/assets/favicon.ico" }); // Copy USWDS init JS so we can load it in HEAD to prevent banner flashing config.addPassthroughCopy({'./node_modules/@uswds/uswds/dist/js/uswds-init.js': 'assets/js/uswds-init.js'}); From e215b6244161615ba61dce92e5c2299e42dce3e9 Mon Sep 17 00:00:00 2001 From: Wes Dean <87149725+wesley-dean-gsa@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:47:28 -0400 Subject: [PATCH 9/9] Update meta.html --- _includes/meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/meta.html b/_includes/meta.html index 93437935..c0e3e7aa 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -40,5 +40,5 @@ - +