···991010## Basic Commands
11111212-- `pnpm new <title` - Create a new post (use `_title` for drafts)
1212+- `pnpm new <title>` - Create a new post (use `_title` for drafts)
1313- `pnpm update-theme` - Update the theme to the latest version
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.
1818- `src/content/posts/` - All blog posts are stored here
1919-- `src/config.ts` - Configure main site info and settings ↓
2020-2121-- Site Info
1919+- `src/config.ts` - Configure main site info and settings
22202321```ts
2222+// Site Info
2323+2424site: {
2525 // Site domain
2626 website: 'https://astro-chiri.netlify.app/',
···3535},
3636```
37373838-- General Settings
3939-4038```ts
3939+// General Settings
4040+4141general: {
4242 // Content area width
4343 contentWidth: '35rem',
···5454},
5555```
56565757-- Date Settings
5858-5957```ts
5858+// Date Settings
5959+6060date: {
6161 // Date format: YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
6262 dateFormat: 'YYYY-MM-DD',
···6767},
6868```
69697070-- Post Settings
7070+```ts
7171+// Post Settings
71727272-```ts
7373post: {
7474 // Show reading time in posts
7575 readingTime: false,
···9999100100You can configure the theme via `shikiConfig` in `astro.config.ts`.
101101102102-For more details: [Syntax Highlighting | Astro Docs](https://docs.astro.build/en/guides/syntax-highlighting/)
102102+More details: [Syntax Highlighting | Astro Docs](https://docs.astro.build/en/guides/syntax-highlighting/)
103103104104```ts
105105import { defineConfig } from 'astro/config'
···119119120120## Preview of Some Features
121121122122-- Theme Toggle
123123-124124-
122122+
125123126126-- Dotted Divider
124124+
127125128128-
126126+
129127130130-- Date on Left Side
128128+
131129132132-
130130+
133131134134-- Table of Contents
135135-136136-
137137-138138-- Reading Time
139139-140140-
141141-142142-- Copy Code Button
143143-144144-
132132+