Sample project

View on GitHub →

This is a sample project write-up. The repo line at the top adds the “View on GitHub” link. Only use it for public repos.

Photos go in the same folder as this file. cover.jpg is the big image at the top (heroImage), and you can add more anywhere in the post:

A screenshot of the project

Astro resizes and compresses these when the site builds. Don’t put photos in public/: files there are published as-is, including any GPS location data.