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

This commit is contained in:
Loyyd 2026-06-11 08:29:29 +02:00
parent 8e40b8599b
commit 830585e2ba
15 changed files with 5371 additions and 15 deletions

View file

@ -6,8 +6,8 @@ explicitly says a change must preserve a URL.
## What This Is
This is a plain static website made from HTML, CSS, JavaScript, images, PDFs,
and other static assets.
This is an Astro-built static website. The current source content is exported
HTML plus CSS, JavaScript, images, PDFs, and other static assets.
## Working Rules
@ -27,8 +27,11 @@ and other static assets.
| `website/index.html` | Home page |
| `website/about.html` | About page |
| `website/contact.html` | Contact page with the form |
| `website/*.html` | All other static pages, archives, categories, tags, and posts |
| `website/PAGES.md` | Map from old folder paths to new flat filenames |
| `website/` | Source HTML pages, blog posts, speech archives, categories, and tags |
| `website/PAGES.md` | Map from old folder paths to current HTML paths |
| `src/pages/` | Astro endpoints that generate static output from `website/` |
| `src/components/` | Astro components for shared layout migration |
| `dist/` | Generated static output from `npm run build` |
| `css/` | Site-level stylesheets |
| `js/` | Site-level scripts |
| `assets/` | Images, PDFs, fonts, theme files, uploads, and static vendor files |
@ -36,6 +39,18 @@ and other static assets.
## Local Preview
For Astro development:
```bash
npm run dev
```
For the Nginx preview:
```bash
npm run build
```
```bash
docker compose up
```