Content
Add or remove pages
Each visible page is an .astro file. English pages have no /tr prefix; Turkish pages live under src/pages/tr/ with Turkish URL slugs.
Folder structure
- EN: src/pages/about.astro → /about
- TR: src/pages/tr/hakkimizda.astro → /tr/hakkimizda
- Dynamic routes use [slug].astro folders (e.g. blog)
Hide without deleting
Turn off a section in src/config/sector.ts (features) before removing files. Example: blog: false hides the blog nav link and blog sections.
New page checklist
- 1. Create EN and TR .astro files
- 2. Add pair in src/config/routes.ts (language switcher)
- 3. Add link in src/config/nav.ts if it should appear in the menu
- 4. Set BaseLayout title and description on both pages