A site of files

pages/index.py is /, pages/about.py is /about/, and pages/blog/[slug].py is one page per post. Nothing configures that; the tree is the routing table, which is the one part of Astro worth copying exactly.

A build that knows every URL up front can write a sitemap, and a host that has every file never needs a rewrite rule.

← every post