Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A clean, modern blog theme with excellent readability and beautiful typography. Built with Astro for optimal performance.
Zen Theme is a clean, modern Astro blog theme designed for readable long-form writing, featuring Pagefind-powered search, automatic dark mode, and a fixed sidebar table of contents.
Zen Theme is an open-source blog template built with Astro, the static site generator. It takes Markdown blog posts stored in src/content/blog/ and generates a static site with a home page, a blog listing grouped by year, tag pages, and an about page. The theme is maintained in the GitHub repository Secd0g/zen and uses CSS custom properties for theming.
[tag].astro.npm install, and write your first post in Markdown.Clone the repository from GitHub, install dependencies with npm install, and start the dev server with npm run dev. Add new posts as Markdown files in src/content/blog/; the theme automatically generates the blog index, tag pages, and atomic search index on build. Configuration for site title, description, and social links lives in src/consts.ts.
Yes. The theme is open source and explicitly licensed for personal use; the repo does not list a commercial license.
Yes. The theme automatically switches between light and dark palettes based on the visitor's system preference and time of day, using CSS variables defined in the blog post layout.
Edit the CSS variables in src/layouts/BlogPost.astro; the default accent is #F97316 (warm orange) with hover and light variants.
Create a new Markdown file in src/content/blog/ with frontmatter fields for title, description, publication date, and tags. The theme will pick it up automatically.
Search is powered by Pagefind, which generates a static search index that loads locally in the browser — no external search API or account needed.
