webyaam

Pages and layouts

Create pages, set their paths and choose a site layout.

2 min readGuide 4 of 20

Create a page

  1. Open the pages list and choose to add a page.
  2. Enter a Page name. The Page path is suggested from it, and you can change it.
  3. Pick a Site layout so the page shares your header and footer.

Where pages live

Each page is an .astro file in src/pages. The path you choose becomes the page's URL. Layouts in src/layouts wrap pages with shared markup.