Skip to content

Releases

v1.0.2

Choose a tag to compare

@AndyWang505 AndyWang505 released this 29 Nov 15:50
c1f084d

The site URL now follows the Vercel production domain, and the favicon looks the same on every OS.

Changes

Site URL

  • On Vercel, the site URL comes from VERCEL_PROJECT_PRODUCTION_URL, so canonical links, Open Graph tags, the sitemap and robots.txt use the deployed domain. Elsewhere, url in src/config/site.ts is used as before
  • Note: on Vercel this overrides url in site.ts

Icons

  • The favicon draws "01" with paths instead of a system font
  • New 180×180 Apple touch icon for adding the site to the iOS home screen

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@AndyWang505 AndyWang505 released this 29 Nov 15:35
9c6b370

Accessibility fixes and a clearer README. Lighthouse accessibility goes from 93 to 100 on posts, home and archive.

Changes

Accessibility

  • Chapter numbers in the table of contents and series lists now meet the 4.5:1 text contrast ratio
  • Heading anchor links have an accessible name
  • The search button keeps its visible text as its accessible name

Docs

  • README restructured, with a designed preview image and a description of the layout and visual style

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@AndyWang505 AndyWang505 released this 29 Nov 15:05
1143843

The first release of Chapter, a three-column Astro theme for long-form technical posts and series, with first-class CJK typography. The theme is extracted from the design of my personal blog, andywangtw.dev.

Demo: https://astro-theme-chapter.vercel.app

Features

  • Chapters: every ## heading is a numbered chapter, mirrored in a sticky table of contents with reading progress
  • Series: posts sharing a series tag list every part, on each post and on the home page
  • Layout: three columns (categories and tags, post, chapters) that collapse to two and one on smaller screens
  • CJK typography: self-hosted Noto Sans TC, CJK-aware reading time, CJK tags and categories in URLs
  • Code: Expressive Code with github-light and Tokyo Night themes, titles, terminal frames, highlighted lines, diffs and collapsible sections
  • Writing: MathJax, tables, footnotes, image zoom, drafts
  • Site: archive with a yearly topic chart, ⌘K search, light and dark mode, page transitions, RSS, sitemap, Open Graph and JSON-LD
  • Customizing: settings in src/config/, every interface string in src/config/ui.ts, design tokens in src/styles/tokens/

Requirements

  • Node.js 22.23.4 or later
  • pnpm 12 (corepack enable)

Getting started

pnpm create astro@latest --template AndyWang505/astro-theme-chapter

See the README for configuration and deployment.

Full Changelog: https://github.com/AndyWang505/astro-theme-chapter/commits/v1.0.0