Skip to content

feat: add sitemaps for pillar pages and jobs#116

Merged
johnshift merged 8 commits intodevfrom
feat/add-sitemaps
Mar 7, 2026
Merged

feat: add sitemaps for pillar pages and jobs#116
johnshift merged 8 commits intodevfrom
feat/add-sitemaps

Conversation

@johnshift
Copy link
Copy Markdown
Collaborator

Summary

  • Split pillar slug fetchers into separate functions for static params and sitemap generation
  • Add dedicated MW endpoints for pillar and job sitemaps with lastModified support
  • Implement multi-sitemap route with static pages, pillar pages, and job listings
  • Skip sitemap data fetching when DISABLE_STATIC_GENERATION is set (build compatibility)

Use v2 endpoint for generateStaticParams, keep original endpoint for sitemap.
Replace old pillar slugs call with the dedicated sitemap endpoint
that returns { slug, lastModified } per pillar. Pillar sitemap
entries now include lastModified timestamps.
Replace heavy fetchJobListPage call with dedicated lightweight
endpoint that returns only shortUUID, title, organizationName,
and timestamp. Reduces sitemap generation payload by ~95%.
@github-actions github-actions bot added the feat New feature label Mar 7, 2026
@johnshift johnshift merged commit 59f6afd into dev Mar 7, 2026
7 checks passed
@johnshift johnshift deleted the feat/add-sitemaps branch March 7, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant