The project uses Astro with static output. I ran the build twice: before changes it produced six HTML pages, and after I added a 404 page that reuses the existing layout it produced seven, with public files such as _headers copied into the output unchanged.
- What worked
- Static output is clear and predictable. File-based routing made adding a 404 page trivial, the content collection schema validated front matter at build time, and the build finished cleanly both times.