2024-09-11 00:51:05 -07:00
|
|
|
# Chrysoblog
|
|
|
|
|
2024-09-14 00:59:54 -07:00
|
|
|
A blog framework
|
2024-09-11 00:51:05 -07:00
|
|
|
|
2024-09-14 00:59:54 -07:00
|
|
|
## Building
|
2024-09-11 00:51:05 -07:00
|
|
|
|
2024-09-14 00:59:54 -07:00
|
|
|
To create the production version,
|
2024-09-11 00:51:05 -07:00
|
|
|
|
|
|
|
```bash
|
2024-09-14 00:59:54 -07:00
|
|
|
npm run build
|
2024-09-11 00:51:05 -07:00
|
|
|
```
|
|
|
|
|
2024-09-14 00:59:54 -07:00
|
|
|
You can preview the production build with `npm run preview`.
|
2024-09-11 00:51:05 -07:00
|
|
|
|
2024-09-14 00:59:54 -07:00
|
|
|
### Content
|
|
|
|
|
|
|
|
To insert custom content, replace
|
|
|
|
- `src/content/metadata.json`: This file controls the display format for titles, front cover, etc.
|
|
|
|
- `src/content/**/*.md`: These contain the blog posts and bio
|
|
|
|
|
|
|
|
## Developing
|
|
|
|
|
|
|
|
Install dependencies with `npm install` (or `pnpm install` or `yarn`). Then start the dev server with
|
2024-09-11 00:51:05 -07:00
|
|
|
|
|
|
|
```bash
|
2024-09-14 00:59:54 -07:00
|
|
|
npm run dev [-- --open]
|
2024-09-11 00:51:05 -07:00
|
|
|
```
|
|
|
|
|