К темам

Vignette

An understated, typography-first Astro blog theme built for long-form reading, zero runtime CDN dependencies, and content-driven multilingual publishing.


Стоимость

Бесплатно


Автор
hyngng

Vignette is an understated, typography-first Astro blog theme designed for long-form reading. It compiles to static HTML with zero runtime CDN dependencies—fonts, KaTeX stylesheets, Mermaid diagrams, and Pagefind search all ship with the build output.

Key Features

Design & Reading Experience

- 768px Reading Measure — Balanced line length and vertical rhythm tailored for long-form essays and technical notes.

- Desktop Viewport Frame — A 16px outer frame on desktop that keeps essential controls (home, theme toggle, RSS, and language switcher) accessible in the corners without intruding on the text.

- Colophon-Style Metadata — Dates, word count, and license sit at the bottom of each post so readers meet the writing first, unframed.

- Continuous Browsing — Replaces numbered pagination with a single "Load more" card matching the post list.

- Light & Dark Modes — An achromatic surface palette paired with a single accent color for links, interactive states, and active table-of-contents headings.

- Smooth Transitions — Powered by Swup for fast, seamless page navigation while preserving frame state.

Content & Multilingual Publishing

- Personas Instead of Categories — Organize writing by distinct editorial voices rather than rigid category trees. Each persona gets its own avatar, archive page, and RSS feed while sharing one domain and search index.

- Content-Driven Localization — Set lang in a post's frontmatter and the build derives routes, BCP 47 locale metadata, and UI strings automatically (7 built-in UI locales included).

- Auto-Generated Table of Contents — Sticky TOC with active heading tracking on desktop.

Rich Text & Extensions

- Markdown & MDX — Full support for .md and .mdx content.

- Technical Writing — Shiki syntax highlighting, KaTeX math expressions, lazy-loaded Mermaid diagrams, GFM, and definition lists.

- Custom Directives — Built-in support for callouts, YouTube embeds, video/audio players, captions, and image attributes.

Discovery, Offline & Performance

- Pagefind Full-Text Search — Client-side static search index built at compile time.

- Syndication & AI Discovery — Global and per-persona RSS feeds, sitemap.xml, robots.txt, JSON-LD structured data, and llms.txt generation.

- PWA Offline Support — Workbox-powered offline caching for pages, chunk fragments, and assets.

- Self-Hosted Typography & Comments — Bundled `Reddit Mono` font and optional Giscus comments.