mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 09:22:53 +00:00
- src/site.config.ts: minimal site metadata (title, description, base URL, nav, tag descriptions) ported from the legacy zola.toml as a placeholder pending real design/copy. - RSS (@astrojs/rss) and JSON Feed endpoints, sitemap (@astrojs/sitemap), robots.txt. - Base.astro: meta description (site-wide default or per-page override via llms_description/description), RSS/JSON feed <link rel=alternate>, and a webmention endpoint link (plumbing only — needs the domain registered on webmention.io to do anything). - toml-content-loader.ts: marked renderer now assigns heading ids and collects them into rendered.metadata.headings, so render(entry) exposes headings the same way a built-in Markdown loader would. - Writing detail page: table of contents, prev/next navigation, series-nav (uses the existing extra.series/series_index fields), and tag-overlap related posts. - Tags index + per-tag pages, tag links wired in from writing cards. - Pagefind: indexes the build output as part of `pnpm build` (astro build && pagefind --site dist), plus a /search/ page using Pagefind's default UI. Verified: astro check clean, full build succeeds (feeds/sitemap/ pagefind all generate correctly), and manually exercised /search/ (real query, highlighted results) and /tags/ in a browser against the built site.
31 lines
608 B
JSON
31 lines
608 B
JSON
{
|
|
"name": "site",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"node": ">=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build && pagefind --site dist",
|
|
"preview": "astro preview",
|
|
"check": "astro check",
|
|
"astro": "astro"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/rss": "^4.0.19",
|
|
"@astrojs/sitemap": "^3.7.3",
|
|
"astro": "^7.2.9",
|
|
"marked": "^18.0.11",
|
|
"pagefind": "^1.5.2",
|
|
"smol-toml": "^1.8.0"
|
|
},
|
|
"allowScripts": {
|
|
"esbuild": true
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/check": "^0.9.10",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|