Taxo Theme Documentation
Pages & Routes
Taxo routes are driven by src/pages/[...lang]/ plus the content collections
defined in src/content.config.ts.
Dedicated Page Files
These routes have their own Astro page files:
index.astrohome-two.astroabout.astrocontact.astrofaq.astropricing.astroteam/index.astroservices/index.astroblog/index.astrocase-studies/index.astro
Collection Single Routes
These routes are generated from content entries:
services/[single].astroblog/[single].astrocase-studies/[single].astroblog/category/[category].astroblog/tag/[tag].astroblog/page/[slug].astro
Static Content Pages
This catch-all route renders content from src/content/pages/:
const { page } = Astro.props;<SinglePageLayout content={{ ...page.data, ...page }} />That is what powers routes such as:
/privacy-policy//terms-conditions//components/
Route Mental Model
src/pages/...decides the URL structuresrc/content/...provides the contentsrc/layouts/components/...decides how it is rendered
Collection Index Files Matter
The -index.md file in a collection usually controls the list page:
src/content/blog/english/-index.mdsrc/content/services/english/-index.mdsrc/content/case-studies/english/-index.mdExamples:
- blog index controls search and card layout options
- services index controls page header content
- case studies index controls list layout and limit
Multilingual Route Note
All of these routes are wrapped in [...lang], so the final URL also depends on
the multilingual settings in config.toml.