Skip to content

feat(starter): add robots.txt and sitemap.xml metadata routes#11

Merged
Neftedollar merged 1 commit into
mainfrom
feat/starter-robots-sitemap
Mar 29, 2026
Merged

feat(starter): add robots.txt and sitemap.xml metadata routes#11
Neftedollar merged 1 commit into
mainfrom
feat/starter-robots-sitemap

Conversation

@Neftedollar
Copy link
Copy Markdown
Owner

@Neftedollar Neftedollar commented Mar 29, 2026

Summary

  • Add Robots.fs with MetadataRoute.Robots config (allow /, disallow /api/)
  • Add Sitemap.fs with MetadataRoute.SitemapEntry for two pages
  • Regenerate entries manifest and Next.js wrappers

Closes #2

Test plan

  • dotnet build passes
  • npm run sync:app && npm run build passes
  • next build shows /robots.txt and /sitemap.xml as static routes

Add MetadataRoute.Robots and MetadataRoute.SitemapEntry examples to the
starter project, demonstrating Next.js metadata route conventions in F#.

Closes #2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Neftedollar Neftedollar merged commit 246bd9f into main Mar 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add robots.txt and sitemap.xml entries to starter example

1 participant