doc: Building instruction

This commit is contained in:
Leni Aniva 2024-09-19 13:46:26 -07:00
parent 7275b72e88
commit f54eadd2b1
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 4 additions and 3 deletions

View File

@ -14,9 +14,10 @@ You can preview the production build with `npm run preview`.
### 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
To insert custom content, create a directory with a similar structure to
`src/content`, and set the environment variable `CHRYSOBLOG_CONTENT` to that
directory. The website will be built statically in `build/`. Note that changing
`favicon.svg` will require modifying the `static/` folder.
## Developing