-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
…s-eligibility into 712-update-sitemap
…s-eligibility into 712-update-sitemap
@gchi25 excluding the unwanted paths in our config seems to give us the result we want, can you confirm?
|
Pa11y testing results``` > [email protected] test:pa11y > pa11y http://localhost:3000/Welcome to Pa11y
No issues found!
|
Tested. The sitemap works well without agencies and types. |
Pa11y testing results``` > [email protected] test:pa11y > pa11y http://localhost:3000/Welcome to Pa11y
No issues found!
|
nuxt.config.js
Outdated
sitemap: { | ||
hostname: `${SITE_URLPREFIX}${SITE_PREFIX}`, | ||
routes: getLifeEvents().map((le) => `/${le}`), | ||
hostname: "https://benefits-tool-beta.usa.gov", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be https://benefits-tool.usa.gov
Pa11y testing results``` > [email protected] test:pa11y > pa11y http://localhost:3000/Welcome to Pa11y
No issues found!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have verified this change and the sitemap looks good as per the routes. Different routes work as expected
Pa11y testing results``` > [email protected] test:pa11y > pa11y http://localhost:3000/Welcome to Pa11y
No issues found!
|
PR Summary
Create production sitemap.
Related Github Issue
Type of change
Branch Name
712-update-sitemap
Testing environment
https://federalist-edd11e6f-8be2-4dc2-a85e-1782e0bcb08e.sites.pages.cloud.gov/preview/gsa/usagov-benefits-eligibility/712-update-sitemap
Detailed Testing steps
we should expect the following paths to appear
'/',
'/es'
'/death-of-a-loved-one',
'/es/death-of-a-loved-one',
'/disability',
'/es/disability',
'/retirement',
'/es/retirement',
Checklist: