Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #775 from GSA/712-update-sitemap
Browse files Browse the repository at this point in the history
#712 update sitemap
  • Loading branch information
scottqueen-bixal authored May 2, 2023
2 parents 9afd7b2 + 15a60b9 commit 39c5af8
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default {
],

// Modules: https://go.nuxtjs.dev/config-modules
modules: ["@nuxtjs/axios", "@nuxt/content", "@nuxtjs/sitemap", "nuxt-i18n", "@nuxtjs/dotenv", "@nuxtjs/gtm"],
modules: ["@nuxtjs/axios", "@nuxt/content", "nuxt-i18n", "@nuxtjs/dotenv", "@nuxtjs/gtm", "@nuxtjs/sitemap"],
gtm: {
id: "GTM-P2F6CBK",
},
Expand Down Expand Up @@ -130,9 +130,20 @@ export default {
csv: {},
},

// sitemap
sitemap: {
hostname: `${SITE_URLPREFIX}${SITE_PREFIX}`,
routes: getLifeEvents().map((le) => `/${le}`),
hostname: "https://benefits-tool.usa.gov",
exclude: ["**/agencies", "**/types", "**/404"],
routes: [
"/death-of-a-loved-one",
"/es/death-of-a-loved-one",
"/disability",
"/es/disability",
"/retirement",
"/es/retirement",
"/",
"/es",
],
},

// Build Configuration: https://go.nuxtjs.dev/config-build
Expand Down

0 comments on commit 39c5af8

Please sign in to comment.