Chronicle is a blog template for people who want a CMS without a backend. Posts, pages and settings live as Markdown + YAML in a data directory; a local browser CMS edits those files directly and commits them with Git. The build is plain Astro SSG — every page is pre-rendered, so the deployed site is static HTML with no database, no API and nothing running at request time.
Why it is different
- The CMS is part of the repo. npm run dev:cms opens a schema-driven editor for every YAML and Markdown file — posts, pages, collections, theme, plugins. Commit and push from inside it; there is no login because the local machine is trusted.
- Features are plugins, not a monolith. Search, collections, slides, comments, blogroll and reading experience each register their own pages, slots, data hooks and settings schema. Disable one and its routes, components and styles leave the next build.
- Bilingual by default. /en/ and /zh/ routes, per-post translations as sibling files, hreflang for real translations only, localized tags, collections and search.
What is inside
- Client-side search with a full-text index, suggestions, tag matching, and a per-result "match reason" (highlighted snippet, friend story, or the collection a post belongs to)
- Collections with their own pages, breadcrumbs, prev/next and tags; searching a collection also surfaces its member posts
- Marp slide decks authored as ordinary posts
- Comments from a static JSON thread or a self-hosted Waline server — no third-party script
- Friends / blogroll page driven by profiles
- RSS, sitemap.xml, robots.txt
- Image pipeline: drop files into data/, get WebP/AVIF with 480/960/1440 px srcset variants
- Dark / light / follow-system theme, accent tokens, and a background studio (image, video, or layered HTML effects such as aurora, mesh, grain)
- Inlined critical CSS, async stylesheets, and a build check that keeps the two in sync
Stack: Astro 7 · Markdown-it (+ KaTeX, Mermaid) · sharp · TypeScript · no runtime framework required for reading









