astro-wpress.ncvp.me

using ncvp.me/wp for all content

Sort out astro-wpress routing

This is all about the mapping between site-url/xxxx/yyyy/zzzz and Astro pages. Even though there are no files in the /src/pages tree, the magic files [slug].astro, [...path].astro perform the same sort of rôle as if there were.

Add these to /src/:

└── pages
    ├── author
    │   └── [slug].astro
    ├── category
    │   └── [slug].astro
    ├── index.astro
    ├── [...path].astro
    ├── [slug].astro
    ├── tag
    │   └── [slug].astro
    └── [year]
        └── [month].astro

All this would have been impossible without AI assistance.

Rendered by src/pages/[slug].astro