parent
39f68f0051
commit
9d0a823351
23 changed files with 1158 additions and 31 deletions
24
README.md
24
README.md
|
|
@ -4,14 +4,16 @@ Local static website files built with Astro.
|
|||
|
||||
## Project Structure
|
||||
|
||||
- `website/` - top-level static pages
|
||||
- `website/` - exported HTML source pages and archive pages
|
||||
- `content/` - extracted Markdown content archive for speeches and blog posts
|
||||
- `src/pages/` - Astro endpoints that generate static HTML from `website/`
|
||||
- `src/components/` - Astro components for the shared layout migration path
|
||||
- `src/content/pages/` - preserved HTML body fragments for migrated public pages
|
||||
- `src/pages/` - Astro routes for migrated public pages plus the static archive catch-all
|
||||
- `src/components/` - Astro components for shared page layout
|
||||
- `dist/` - generated static output from `npm run build`
|
||||
- `website/index.html` - homepage
|
||||
- `website/about.html` - about page
|
||||
- `website/contact.html` - contact page with the form
|
||||
- `src/pages/index.astro` - homepage route generated from migrated content
|
||||
- `src/pages/about.astro` - about page route generated from migrated content
|
||||
- `src/pages/contact.astro` - contact page route generated from migrated content
|
||||
- `website/index.html`, `website/about.html`, `website/contact.html` - original exported source for migrated public pages
|
||||
- `website/blog/YYYY/MM/DD/` - dated blog post pages
|
||||
- `website/blog/categories/` - blog category archive pages
|
||||
- `website/blog/tags/` - blog tag archive pages
|
||||
|
|
@ -43,12 +45,22 @@ Check that the generated site builds successfully:
|
|||
npm run check
|
||||
```
|
||||
|
||||
Run the static link and media audit against the generated `dist/` output:
|
||||
|
||||
```bash
|
||||
npm run audit:links
|
||||
```
|
||||
|
||||
Regenerate Markdown content from the exported post HTML:
|
||||
|
||||
```bash
|
||||
npm run extract:content
|
||||
```
|
||||
|
||||
The important public pages are now Astro routes that reuse shared layout
|
||||
components. The large blog and speech archive is still served from the exported
|
||||
HTML through `src/pages/[...route].ts`.
|
||||
|
||||
The repeated exported inline styles have been moved into `css/theme.css` and
|
||||
`css/site.css`. Tiny one-page WordPress block-support styles may still remain
|
||||
inline when they only apply to a single page.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue