Theme Guide
Chiri is a minimal blog theme built with Astro, offering customization options while preserving its clean aesthetic.
Basic Commands
pnpm new <title>
- Create a new post (use_title
for drafts)pnpm update-theme
- Update the theme to the latest version
Main Files & Directories
src/content/about/about.md
- Edit the about section of the index page. Leave it empty if you don’t want any content.src/content/posts/
- All blog posts are stored heresrc/config.ts
- Configure main site info and settings ↓
export const SITE = {
// Site domain
website: 'https://astro-chiri.netlify.app/',
// Site title
title: 'CHIRI',
// Author name
author: '3ASH',
// Site description
description: 'Minimal blog built by Astro',
// Default language
language: 'en-US',
// Content area width
contentWidth: '35rem',
// Use centered layout (false for left-aligned)
centeredLayout: true,
// Show favicon on index page
favicon: false,
// Show theme toggle button
themeToggle: false,
// Show footer
footer: true,
// Enable fade animations
fadeAnimation: true,
// Date format: YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
dateFormat: 'YYYY-MM-DD',
// Date separator: . - / (except for MONTH DAY YYYY and DAY MONTH YYYY)
dateSeparator: '.',
// Date position in post list (true for right, false for left)
dateOnRight: true,
// Show reading time in posts
readingTime: false,
// Show table of contents
toc: true,
// Enable image viewer
imageViewer: true,
// Enable copy button in code blocks
copyCode: false
}
Post Frontmatter
Only title
and pubDate
are required fields
---
title: 'Post Title'
pubDate: '2025-07-10'
---
Preview of Some Features
- Theme Toggle

- Date on Left Side

- Table of Contents

- Reading Time

- Copy Code Button
