Overview
Learn how to create template layouts for HTML using Astro Static Site Generator in this 24-minute tutorial video. Explore the benefits of using a static site generator to streamline repetitive HTML tasks and simplify page updates. Follow along as the instructor guides you through installing Astro, exploring its file structure, and setting up a main template file. Discover how to slot content into templates, fix navigation links, and set titles with template layouts. By the end of the tutorial, you'll be able to build a static site for production using Astro SSG, making your web development process more efficient and maintainable.
Syllabus
- Introduction
- Why Astro?
- Installing Astro
- Exploring the file structure
- Cleaning up index.astro
- Adding the HTML from old project
- Setting up the main template file
- Slotting in content to the template using the template
- Fixing the navigation links
- Setting titles with template layouts
- Building the static site for production
Taught by
Kevin Powell