Back to Withastro

Check in: Unit 2 - Pages

src/content/docs/en/tutorial/2-pages/index.mdx

latest714 B
Original Source

import Checklist from '/components/Checklist.astro'; import Box from '/components/tutorial/Box.astro';

Now that you have a working site on the web, it's time to add pages and posts!

Looking ahead

In this unit, you will:

  • Create your first Astro pages with the .astro syntax
  • Add blog posts with Markdown (.md) files
  • Style an individual page with <style>
  • Apply global styles across pages

Along the way, you'll learn how the two sections of a .astro file work together to create a page, and how to use variables and conditional rendering on your pages.

<Box icon="check-list"> ## Checklist <Checklist> - [ ] I am ready to make some new pages for my Astro website! </Checklist> </Box>