Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Minimalistic blog theme built with Astro, featuring Tailwind CSS, tags, RSS, sitemap, and TypeScript support.
Minimal blog with tags is an open-source Astro theme for building a minimal, tag-organized blog. It accepts Markdown and MDX posts placed in src/pages/blog and outputs a static site with per-tag archive pages, RSS, sitemap, robots.txt, and PWA support, styled with Tailwind CSS.
Minimal blog with tags is a blog starter template built with the Astro static site generator. It extends the official Astro blog example with a tag system, Tailwind CSS integration, dark mode support, and additional SEO and performance features. The template is written in TypeScript and uses the standard Astro project structure with src/components, src/layouts, src/pages, src/styles, src/types, and src/utils folders. It reads posts from the src/pages/blog directory and automatically generates tag pages using a dynamic [tag].astro route.
To add a new tag to a post, you place the tag name in the tags array in the post's frontmatter. Then you add the same tag as a parameter in the getStaticPaths method of the src/pages/[tag].astro file, so the static build generates a page for that tag. The tags from all posts are also read dynamically using the findTags helper in src/utils/post.utils.
Run yarn dev from the project root after installing dependencies with yarn. The project is configured to work with either yarn or npm.
Add the tag to the tags array in the post's frontmatter, then register the tag in the getStaticPaths of the [tag].astro file so the route is generated at build time.
Yes, Astro processes .astro and .md files in src/pages, and the template integrates the Astro MDX integration for MDX support.
It is developed from the official Astro blog theme in the Astro examples repository, with added features like tags, Tailwind, and PWA support.
