| type | tutorial | |||||
|---|---|---|---|---|---|---|
| unitTitle | Add, style and link to pages on your site | |||||
| title | Check in: Unit 2 - Pages | |||||
| sidebar |
|
|||||
| description | Tutorial: Build your first Astro blog — Create, style, and link to pages posts on your site | |||||
| i18nReady | true | |||||
| head |
|
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!
In this unit, you will:
- Create your first Astro pages with the
.astrosyntax - 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.