What is Layout?
A component that wraps your pages with shared parts, such as a header and footer.
Instead of repeating your menu on every page, you put it in a layout once. A slot tag inside the layout shows where each page's content goes.
Free Astro tutorials for complete beginners.
Beginner's Guide to Astro
A component that wraps your pages with shared parts, such as a header and footer.
Instead of repeating your menu on every page, you put it in a layout once. A slot tag inside the layout shows where each page's content goes.