Configuring Chapter
You can make Chapter yours without touching a component. Settings live in four files under src/config/.
Site and author
src/config/site.ts holds the site title, URL and the author block in the left rail.
export const SITE_CONFIG = { title: 'My Blog', description: 'Notes on the things I build.', author: 'Your Name', url: 'https://example.com', timeZone: 'America/New_York',} as const;Set url to your real domain: the sitemap, RSS feed, canonical links and robots.txt are built from it.
timeZone decides which calendar day a post belongs to. Leave it out and the build machine’s time zone is used, which is fine until you build locally in one time zone and deploy from a server in another.
In AUTHOR, any link left as an empty string is hidden:
links: { github: 'https://github.com/you', x: '', // hidden email: 'mailto:you@example.com', rss: '/rss.xml',},Categories, tags and series
Each post has one category and one to three tags.
- Categories are the broad sections of the blog. They are listed in
ARCHIVE_THEMES, which also colours the yearly chart on the archive page. - Tags are listed in
ALLOWED_TAGS. Add a tag there before using it. - Series are tags listed in
SITE_SERIES. Posts sharing a series tag are numbered “Part 1, Part 2…” by publish date, and each one lists the whole series under its title.
Banner and footer
The home page banner draws a grid pattern in the theme colours until you add your own images in src/config/banner.ts, one for light mode and one for dark:
export const BANNER_CONFIG = { light: { src: '/banner/light.webp', position: 'center 60%' }, dark: { src: '/banner/dark.webp', credit: { text: 'Artist', url: 'https://example.com' } },};Credit artwork you did not make: credit adds a small attribution pill.
FOOTER in site.ts sets the copyright line, the start year (shown as “2021–2026”), the license for your posts and the “Built with Astro & Chapter” credit. Set license to null to hide the license line on posts and in the footer.
Interface text
Every label in the interface comes from src/config/ui.ts. To translate the theme, edit the strings there and set LOCALE:
export const LOCALE = { lang: 'en', ogLocale: 'en_US', dates: 'en-US',} as const;dates is passed to Intl.DateTimeFormat, so 'de-DE' gives “1. November 2026” and 'ja-JP' gives “2026年11月1日”.