Skip to content

fix(sitemap): correct hub frequencies and derived lastmod - #119

Merged
adityalenova merged 1 commit into
adityalenova:mainfrom
Subodh-17:fix/sitemap-frequencies-lastmod
Nov 8, 2026
Merged

adityalenova merged 1 commit into
adityalenova:mainfrom
Subodh-17:fix/sitemap-frequencies-lastmod

Conversation

@Subodh-17

Copy link
Copy Markdown
Contributor

Summary

Fixes #93.

  • Replace blanket daily sitemap frequencies with more accurate update frequencies for dynamic, directory, overview, and legal pages.
  • Add deterministic lastModified timestamps to organization profiles, program detail pages, and program organization explorer pages using the existing catalog snapshot date.
  • Preserve individual repository catalog timestamps, sitemap URLs, and priority values.
  • Add focused Vitest regression coverage.

Verification

  • npm run typecheck — passed.
  • npm test — 34 test files passed, 322 tests passed.
  • npm run build — passed on successful rerun; 2,053 static pages generated.
  • Generated sitemap inspected directly.
  • git diff --check — passed.

Note: The initial production build encountered a Next.js security advisory prompt; the immediate rerun completed successfully.

Scope

Only:

  • src/app/sitemap.ts
  • src/app/sitemap.test.ts

No UI changes or additional dependencies.

@vercel

vercel Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

@Subodh-17 is attempting to deploy a commit to the NXT Team on Vercel.

A member of the Team first needs to authorize it.

@adityalenova
adityalenova merged commit aa99bfd into adityalenova:main Nov 8, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sitemap.xml claims the legal pages change daily and gives no lastmod to the pages that actually refresh

2 participants