mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-20 10:04:25 +00:00
Adds a custom Astro loader that reads the Zola-style TOML frontmatter (+++ ... +++) directly, so content/ stays the single source of truth with no YAML conversion step. Defines writings/portfolio/bookshelf/ blogs collections and basic list/detail pages for each, rendering the seed entries end-to-end (verified in-browser via `pnpm --filter site dev`). This is the first runnable MVP: home, writings list + post detail, portfolio, bookshelf (books and papers), and curated blogs all render from real content/ files.
23 lines
377 B
JSON
23 lines
377 B
JSON
{
|
|
"name": "site",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"node": ">=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro"
|
|
},
|
|
"dependencies": {
|
|
"astro": "^7.2.9",
|
|
"marked": "^18.0.11",
|
|
"smol-toml": "^1.8.0"
|
|
},
|
|
"allowScripts": {
|
|
"esbuild": true
|
|
}
|
|
}
|