Finzo Theme Documentation
Pages And Routing
Theme routes are built from src/pages/[...lang]/ and content collections.
Add A New Page
- Create a new file in
src/content/pages/<language>/. - Add frontmatter with
titleand optionalcustomSlug. - Save and visit
/<customSlug>/in the browser.
Example
---title: "About Our Team"customSlug: "team"---
Content goes here.How It Works
The dynamic page route is handled by src/pages/[...lang]/[page].astro and uses the pages collection automatically.