diff --git a/_data/assetPaths.json b/_data/assetPaths.json index d2a9a74b..d80674a6 100644 --- a/_data/assetPaths.json +++ b/_data/assetPaths.json @@ -7,6 +7,7 @@ "positions.map": "/assets/js/positions-JSZISVTK.js.map", "subnav.js": "/assets/js/subnav-3QHQ2EX4.js", "subnav.map": "/assets/js/subnav-3QHQ2EX4.js.map", + "uswds.js": "/assets/js/uswds-init.js", "styles.css": "/assets/styles/styles-VHE4JBMV.css", "styles.map": "/assets/styles/styles-VHE4JBMV.css.map" } diff --git a/_includes/layouts/jointts/redirect.html b/_includes/layouts/jointts/redirect.html new file mode 100644 index 00000000..2191afea --- /dev/null +++ b/_includes/layouts/jointts/redirect.html @@ -0,0 +1,13 @@ + + +
+ + + + +If you are not redirected, click here.
+ + diff --git a/js/redirect.js b/js/redirect.js new file mode 100644 index 00000000..4a1576fb --- /dev/null +++ b/js/redirect.js @@ -0,0 +1,13 @@ +const fs = require("fs"); +const path = require("path"); + +const archiveDir = "./pages/jointts/positions/archive"; + +const mdFiles = fs + .readdirSync(archiveDir) + .filter((file) => file.endsWith(".md")); + +module.exports = mdFiles.map((file) => ({ + permalink: `/pages/jointts/positions/archive/${file.replace(".md", ".html")}`, + redirectTo: "/join/", +})); diff --git a/pages/jointts/positions/Cloud-gov-Account-Manager.md b/pages/jointts/positions/archive/Cloud-gov-Account-Manager.md similarity index 99% rename from pages/jointts/positions/Cloud-gov-Account-Manager.md rename to pages/jointts/positions/archive/Cloud-gov-Account-Manager.md index 93c9341f..5c9a8b9e 100644 --- a/pages/jointts/positions/Cloud-gov-Account-Manager.md +++ b/pages/jointts/positions/archive/Cloud-gov-Account-Manager.md @@ -1,8 +1,9 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs + # ############################################################################### # # # INSTRUCTIONS: TTS JOB TEMPLATE # diff --git a/pages/jointts/positions/Communities-Collaboration-Branch-Chief.md b/pages/jointts/positions/archive/Communities-Collaboration-Branch-Chief.md similarity index 99% rename from pages/jointts/positions/Communities-Collaboration-Branch-Chief.md rename to pages/jointts/positions/archive/Communities-Collaboration-Branch-Chief.md index ebd3b5b8..d4914d9f 100644 --- a/pages/jointts/positions/Communities-Collaboration-Branch-Chief.md +++ b/pages/jointts/positions/archive/Communities-Collaboration-Branch-Chief.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/FedRAMP-Security-Director.md b/pages/jointts/positions/archive/FedRAMP-Security-Director.md similarity index 99% rename from pages/jointts/positions/FedRAMP-Security-Director.md rename to pages/jointts/positions/archive/FedRAMP-Security-Director.md index 30c24c51..eee437ad 100644 --- a/pages/jointts/positions/FedRAMP-Security-Director.md +++ b/pages/jointts/positions/archive/FedRAMP-Security-Director.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/PIF-Director.md b/pages/jointts/positions/archive/PIF-Director.md similarity index 99% rename from pages/jointts/positions/PIF-Director.md rename to pages/jointts/positions/archive/PIF-Director.md index 88dee259..a2362e55 100644 --- a/pages/jointts/positions/PIF-Director.md +++ b/pages/jointts/positions/archive/PIF-Director.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/PX-Contact Center Analyst.md b/pages/jointts/positions/archive/PX-Contact Center Analyst.md similarity index 99% rename from pages/jointts/positions/PX-Contact Center Analyst.md rename to pages/jointts/positions/archive/PX-Contact Center Analyst.md index b8f96c4d..777418f9 100644 --- a/pages/jointts/positions/PX-Contact Center Analyst.md +++ b/pages/jointts/positions/archive/PX-Contact Center Analyst.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/PX-Content-Outreach-BranchChief.md b/pages/jointts/positions/archive/PX-Content-Outreach-BranchChief.md similarity index 99% rename from pages/jointts/positions/PX-Content-Outreach-BranchChief.md rename to pages/jointts/positions/archive/PX-Content-Outreach-BranchChief.md index 00452b67..ae105077 100644 --- a/pages/jointts/positions/PX-Content-Outreach-BranchChief.md +++ b/pages/jointts/positions/archive/PX-Content-Outreach-BranchChief.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/Presidential-Innovation-Fellows.md b/pages/jointts/positions/archive/Presidential-Innovation-Fellows.md similarity index 99% rename from pages/jointts/positions/Presidential-Innovation-Fellows.md rename to pages/jointts/positions/archive/Presidential-Innovation-Fellows.md index 1f440a52..53b0f9c1 100644 --- a/pages/jointts/positions/Presidential-Innovation-Fellows.md +++ b/pages/jointts/positions/archive/Presidential-Innovation-Fellows.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/Product Manager-15-Oct24.md b/pages/jointts/positions/archive/Product Manager-15-Oct24.md similarity index 99% rename from pages/jointts/positions/Product Manager-15-Oct24.md rename to pages/jointts/positions/archive/Product Manager-15-Oct24.md index 5bf200e2..06039959 100644 --- a/pages/jointts/positions/Product Manager-15-Oct24.md +++ b/pages/jointts/positions/archive/Product Manager-15-Oct24.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/Senior-software-eng-15-Oct24.md b/pages/jointts/positions/archive/Senior-software-eng-15-Oct24.md similarity index 99% rename from pages/jointts/positions/Senior-software-eng-15-Oct24.md rename to pages/jointts/positions/archive/Senior-software-eng-15-Oct24.md index 7c5a2292..db1af3d3 100644 --- a/pages/jointts/positions/Senior-software-eng-15-Oct24.md +++ b/pages/jointts/positions/archive/Senior-software-eng-15-Oct24.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/TTS-Sr-Advisor-Technology.md b/pages/jointts/positions/archive/TTS-Sr-Advisor-Technology.md similarity index 99% rename from pages/jointts/positions/TTS-Sr-Advisor-Technology.md rename to pages/jointts/positions/archive/TTS-Sr-Advisor-Technology.md index 6bcf0bb0..80e1c6ab 100644 --- a/pages/jointts/positions/TTS-Sr-Advisor-Technology.md +++ b/pages/jointts/positions/archive/TTS-Sr-Advisor-Technology.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/USDC-fellow-supe-14.md b/pages/jointts/positions/archive/USDC-fellow-supe-14.md similarity index 99% rename from pages/jointts/positions/USDC-fellow-supe-14.md rename to pages/jointts/positions/archive/USDC-fellow-supe-14.md index cba47450..d96120ae 100644 --- a/pages/jointts/positions/USDC-fellow-supe-14.md +++ b/pages/jointts/positions/archive/USDC-fellow-supe-14.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/login-data-engineer-2024.md b/pages/jointts/positions/archive/login-data-engineer-2024.md similarity index 99% rename from pages/jointts/positions/login-data-engineer-2024.md rename to pages/jointts/positions/archive/login-data-engineer-2024.md index 1c8ba0f8..21e069d1 100644 --- a/pages/jointts/positions/login-data-engineer-2024.md +++ b/pages/jointts/positions/archive/login-data-engineer-2024.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/login-fraud-analyst-2024.md b/pages/jointts/positions/archive/login-fraud-analyst-2024.md similarity index 99% rename from pages/jointts/positions/login-fraud-analyst-2024.md rename to pages/jointts/positions/archive/login-fraud-analyst-2024.md index 47560b7b..1e12fa15 100644 --- a/pages/jointts/positions/login-fraud-analyst-2024.md +++ b/pages/jointts/positions/archive/login-fraud-analyst-2024.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/login-fraud-technical-expert-2024.md b/pages/jointts/positions/archive/login-fraud-technical-expert-2024.md similarity index 99% rename from pages/jointts/positions/login-fraud-technical-expert-2024.md rename to pages/jointts/positions/archive/login-fraud-technical-expert-2024.md index 9322197e..53f175e6 100644 --- a/pages/jointts/positions/login-fraud-technical-expert-2024.md +++ b/pages/jointts/positions/archive/login-fraud-technical-expert-2024.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/login-gov-data-analyist.md b/pages/jointts/positions/archive/login-gov-data-analyist.md similarity index 99% rename from pages/jointts/positions/login-gov-data-analyist.md rename to pages/jointts/positions/archive/login-gov-data-analyist.md index 055afef9..763339cb 100644 --- a/pages/jointts/positions/login-gov-data-analyist.md +++ b/pages/jointts/positions/archive/login-gov-data-analyist.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/login-technical-product-manager-2024.md b/pages/jointts/positions/archive/login-technical-product-manager-2024.md similarity index 99% rename from pages/jointts/positions/login-technical-product-manager-2024.md rename to pages/jointts/positions/archive/login-technical-product-manager-2024.md index 85cc9425..0f6b39f9 100644 --- a/pages/jointts/positions/login-technical-product-manager-2024.md +++ b/pages/jointts/positions/archive/login-technical-product-manager-2024.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/organizational_culture_specialist.md b/pages/jointts/positions/archive/organizational_culture_specialist.md similarity index 99% rename from pages/jointts/positions/organizational_culture_specialist.md rename to pages/jointts/positions/archive/organizational_culture_specialist.md index 0d912fae..5613ddf4 100644 --- a/pages/jointts/positions/organizational_culture_specialist.md +++ b/pages/jointts/positions/archive/organizational_culture_specialist.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs diff --git a/pages/jointts/positions/solutions-cloud-itspecialist-13-oct24.md b/pages/jointts/positions/archive/solutions-cloud-itspecialist-13-oct24.md similarity index 99% rename from pages/jointts/positions/solutions-cloud-itspecialist-13-oct24.md rename to pages/jointts/positions/archive/solutions-cloud-itspecialist-13-oct24.md index 7c817c41..161e43a0 100644 --- a/pages/jointts/positions/solutions-cloud-itspecialist-13-oct24.md +++ b/pages/jointts/positions/archive/solutions-cloud-itspecialist-13-oct24.md @@ -1,5 +1,5 @@ --- -layout: layouts/jointts/job-listing +layout: layouts/jointts/redirect permalink: /join/{{ title | slugify }}.html tags: jobs