revista-3
Just a photography theme built on Astro
Revista: an Astro theme for photos and writing
A photography portfolio and blog theme pinned to Astro v7.1.6, with content collections, custom Tailwind breakpoints, dark mode, and a content creation CLI.
Pinned to a specific Astro
Revista is a photography portfolio and blog built on Astro v7.1.6. The author created it to present photography collections alongside writing organized into categories, so the theme carries both a visual side and a text side. Pinning the Astro version in the README gives users a concrete baseline for compatibility with the theme's components and build tooling. That kind of version pin is a detail that saves debugging time later.
Ten features on the list
The README lists ten features. Multiple content collections run through the glob loader, the layout is responsive via Tailwind CSS with custom breakpoints at 800, 1200, 1900, and 2500 pixels, and dark mode keeps a theme toggle with localStorage persistence. Routing is generated from content collections, each collection gets an RSS feed, and SEO meta tags are included. Performance gets attention through lazy loading and prefetching, client side JavaScript is kept targeted, the custom 404 page rotates quotes, and there is a dedicated CV page. The list is long, but each item is a concrete capability rather than a slogan.
How content is managed
Content lives as Markdown files in the content directory, one subdirectory per content type, with a Zod schema defined in the content config. A content creation CLI reads the schema requirements, prompts with colored text, validates input, and generates proper filenames, with options to update dates, tags, and image metadata. Routing combines static routes with parameterised collection routes driven by a config array, so adding a collection is a data change rather than a code change. The CLI removes most of the fiddly parts of adding a post.
Community notes