content
Some checks are pending
/ deploy (push) Waiting to run

This commit is contained in:
Loyyd 2026-06-11 08:34:55 +02:00
parent 830585e2ba
commit 01a7933793
768 changed files with 82022 additions and 0 deletions

View file

@ -16,6 +16,10 @@ is kept in `website/`, while Astro emits the served site into `dist/`.
- `website/speeches/rev-dr-sun-myung-moon/*.html` - yearly speech archive pages
- `website/speeches/categories/*.html` - speech category archive pages
- `website/PAGES.md` - map of old folder paths to current HTML paths
- `content/speeches/<year>/*.md` - extracted speech content by speech year
- `content/speeches/mrs-hak-ja-han-moon/*.md` - extracted Mrs. Hak Ja Han Moon speeches
- `content/blog/<year>/*.md` - extracted non-speech blog content by publish year
- `content/README.md` - content archive notes
- `src/pages/index.html.ts` - Astro endpoint for the home page
- `src/pages/[...route].ts` - Astro endpoint for all other existing HTML pages
- `src/lib/static-pages.ts` - maps `website/` files to Astro static routes
@ -29,6 +33,7 @@ is kept in `website/`, while Astro emits the served site into `dist/`.
- `scripts/render-shared-layout.mjs` - renders shared layout components into pages
- `scripts/organize-content.mjs` - organizes exported blog and speech pages
- `scripts/copy-static-assets.mjs` - copies `assets/`, `css/`, and `js/` into `dist/`
- `scripts/extract-content.mjs` - extracts dated post pages into `content/`
- `docker/` and `compose.yaml` - local static server preview
- `.forgejo/` - deployment automation
@ -42,6 +47,12 @@ Astro components in `src/components/` are available for the next migration step:
converting individual pages from exported HTML into `.astro` or Markdown content
while reusing the same layout structure.
## Content Archive
Run `npm run extract:content` to regenerate the Markdown content archive from
`website/blog/`. The generated Markdown keeps the original post body HTML inside
the file so formatting is preserved while metadata becomes frontmatter.
## Asset Layout
- `css/block-library.css` - WordPress block styles used by the pages