parent
830585e2ba
commit
01a7933793
768 changed files with 82022 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ Local static website files built with Astro.
|
|||
## Project Structure
|
||||
|
||||
- `website/` - top-level static 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
|
||||
- `dist/` - generated static output from `npm run build`
|
||||
|
|
@ -23,6 +24,7 @@ Local static website files built with Astro.
|
|||
- `scripts/components.mjs` - shared nav/sidebar/footer components
|
||||
- `scripts/render-shared-layout.mjs` - updates repeated layout across HTML files
|
||||
- `scripts/organize-content.mjs` - organizes exported blog and speech pages
|
||||
- `scripts/extract-content.mjs` - extracts posts into `content/`
|
||||
|
||||
## Maintenance
|
||||
|
||||
|
|
@ -32,6 +34,12 @@ Run Astro locally while editing:
|
|||
npm run dev
|
||||
```
|
||||
|
||||
Regenerate Markdown content from the exported post HTML:
|
||||
|
||||
```bash
|
||||
npm run extract:content
|
||||
```
|
||||
|
||||
After changing shared navigation, sidebar, or footer markup in
|
||||
`scripts/components.mjs`, run:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue