Static Routes

Named folders directly map to clean URL paths like /about or /setup.

Static Routes

Static routes are created using regular folder names. These map one-to-one with the URL path.

routes/about/index.html       →   /about
routes/setup/index.html  →   /setup
routes/contact/index.html     →   /contact

These are ideal for pages like About, Contact, Docs, and other fixed-content pages.

You can also include an index.server.go file if you need to load or inject data. See Server Files.