Skip to content

bug: Worldwide Leaderboard route is missing from sitemap.ts #262

Closed

Description

@O2sa

In src/app/sitemap.ts, sitemap entries are generated by mapping over src/data/countries.json. However, countries.json only contains ISO-coded countries and does not contain "worldwide". As a result, /leaderboard/worldwide is omitted from sitemap.xml.

Motivation

The Worldwide Leaderboard is one of the highest-traffic and most prominent pages on DevImpact, linked directly from the home page and country leaderboards. Omitting it from the sitemap hinders search engine discovery and ranking.

Tasks

  • In src/app/sitemap.ts, add an explicit sitemap entry for ${baseUrl}/leaderboard/worldwide with high priority (0.95) and "weekly" changeFrequency.
  • Verify npm run build or sitemap output includes /leaderboard/worldwide.

Files to Check

  • src/app/sitemap.ts

Tip

🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions