···11-export const SITE = {
11+import type { ThemeConfig } from './types'
22+33+export const themeConfig: ThemeConfig = {
24 // SITE INFO ///////////////////////////////////////////////////////////////////////////////////////////
33- website: 'https://astro-chiri.netlify.app/', // Site domain
44- title: 'CHIRI', // Site title
55- author: '3ASH', // Author name
66- description: 'Minimal blog built by Astro', // Site description
77- language: 'en-US', // Default language
55+ site: {
66+ website: 'https://astro-chiri.netlify.app/', // Site domain
77+ title: 'CHIRI', // Site title
88+ author: '3ASH', // Author name
99+ description: 'Minimal blog built by Astro', // Site description
1010+ language: 'en-US' // Default language
1111+ },
812913 // GENERAL SETTINGS ////////////////////////////////////////////////////////////////////////////////////
1010- contentWidth: '35rem', // Content area width
1111- centeredLayout: true, // Use centered layout (false for left-aligned)
1212- favicon: false, // Show favicon on index page
1313- themeToggle: false, // Show theme toggle button (uses system theme by default)
1414- footer: true, // Show footer
1515- fadeAnimation: true, // Enable fade animations
1414+ general: {
1515+ contentWidth: '35rem', // Content area width
1616+ centeredLayout: true, // Use centered layout (false for left-aligned)
1717+ favicon: false, // Show favicon on index page
1818+ themeToggle: false, // Show theme toggle button (uses system theme by default)
1919+ footer: true, // Show footer
2020+ fadeAnimation: true // Enable fade animations
2121+ },
16221723 // DATE SETTINGS ///////////////////////////////////////////////////////////////////////////////////////
1818- dateFormat: 'YYYY-MM-DD', // Date format: YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
1919- dateSeparator: '.', // Date separator: . - / (except for MONTH DAY YYYY and DAY MONTH YYYY)
2020- dateOnRight: true, // Date position in post list (true for right, false for left)
2424+ date: {
2525+ dateFormat: 'YYYY-MM-DD', // Date format: YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
2626+ dateSeparator: '.', // Date separator: . - / (except for MONTH DAY YYYY and DAY MONTH YYYY)
2727+ dateOnRight: true // Date position in post list (true for right, false for left)
2828+ },
21292230 // POST SETTINGS ///////////////////////////////////////////////////////////////////////////////////////
2323- readingTime: false, // Show reading time in posts
2424- toc: true, // Show the table of contents when there is enough page width
2525- imageViewer: true, // Enable image viewer
2626- copyCode: true // Enable copy button in code blocks
3131+ post: {
3232+ readingTime: false, // Show reading time in posts
3333+ toc: true, // Show the table of contents (when there is enough page width)
3434+ imageViewer: true, // Enable image viewer
3535+ copyCode: true // Enable copy button in code blocks
3636+ }
2737}
···14141515## Main Files & Directories
16161717-- `src/content/about/about.md` - Edit the about section of the index page. Leave it empty if you don’t want any content.
1717+- `src/content/about/about.md` - Edit the about section of the index page. Leave it empty if you don't want any content.
1818- `src/content/posts/` - All blog posts are stored here
1919- `src/config.ts` - Configure main site info and settings ↓
20202121+- Site Info
2222+2123```ts
2222-export const SITE = {
2424+site: {
2325 // Site domain
2426 website: 'https://astro-chiri.netlify.app/',
2527 // Site title
···2931 // Site description
3032 description: 'Minimal blog built by Astro',
3133 // Default language
3232- language: 'en-US',
3434+ language: 'en-US'
3535+},
3636+```
3737+3838+- General Settings
33394040+```ts
4141+general: {
3442 // Content area width
3543 contentWidth: '35rem',
3644 // Use centered layout (false for left-aligned)
3745 centeredLayout: true,
3846 // Show favicon on index page
3947 favicon: false,
4040- // Show theme toggle button
4848+ // Show theme toggle button (uses system theme by default)
4149 themeToggle: false,
4250 // Show footer
4351 footer: true,
4452 // Enable fade animations
4545- fadeAnimation: true,
5353+ fadeAnimation: true
5454+},
5555+```
46565757+- Date Settings
5858+5959+```ts
6060+date: {
4761 // Date format: YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
4862 dateFormat: 'YYYY-MM-DD',
4963 // Date separator: . - / (except for MONTH DAY YYYY and DAY MONTH YYYY)
5064 dateSeparator: '.',
5165 // Date position in post list (true for right, false for left)
5252- dateOnRight: true,
6666+ dateOnRight: true
6767+},
6868+```
6969+7070+- Post Settings
53717272+```text
7373+post: {
5474 // Show reading time in posts
5575 readingTime: false,
5656- // Show table of contents
7676+ // Show the table of contents (when there is enough page width)
5777 toc: true,
5878 // Enable image viewer
5979 imageViewer: true,
6080 // Enable copy button in code blocks
6161- copyCode: false
8181+ copyCode: true
6282}
6383```
6484···66866787Only `title` and `pubDate` are required fields
68886969-```md
8989+```ts
7090---
7191title: 'Post Title'
7292pubDate: '2025-07-10'