Pages Directory

This directory contains all page routes for the website using Astro’s file-based routing.

Structure

Conventions

  1. Static pages: Use .astro extension for static HTML pages
  2. Markdown pages: Use .md extension for content-driven pages
  3. Dynamic routes: Use [param] syntax for dynamic segments
  4. API routes: Place in api/ subdirectory with .ts extension

Resources