accessibility-exchange / platform

The Accessibility Exchange platform.
https://github.com/orgs/accessibility-exchange/projects/2/views/8
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

Design more versatile Page query for sitemap generation #1973

Open chosww opened 12 months ago

chosww commented 12 months ago

Is your feature request related to a problem? Please describe.

For the initial work for adding sitemap to the platform (#1959), Page model is queried based on assumption that end of route name would match the slug of a page. This can be a problem later when we add more pages.

jobara commented 12 months ago

This is also a problem for the more generic about.page route that uses a parameter {page} in the url and takes in a page model.