familyfedie-website/docs/SITE-STRUCTURE.md
Loyyd 8e40b8599b
Some checks are pending
/ deploy (push) Waiting to run
organized
2026-06-11 08:17:11 +02:00

55 lines
1.9 KiB
Markdown

# Site Structure
This is a local static site. Top-level pages are kept in `website/`, while blog
posts and speech archive pages are grouped into dedicated folders.
## Root
- `website/index.html` - home page
- `website/about.html` - about page
- `website/contact.html` - contact page
- `website/*.html` - other top-level pages
- `website/blog/YYYY/MM/DD/*.html` - dated blog posts
- `website/blog/categories/*.html` - blog category archive pages
- `website/blog/tags/*.html` - blog tag archive pages
- `website/speeches/index.html` - main speeches archive
- `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
- `css/` - site-level stylesheets
- `js/` - site-level scripts
- `assets/` - images, PDFs, fonts, theme files, uploads, and vendor files
- `docs/` - maintainer documentation
- `scripts/components.mjs` - shared nav/sidebar/footer components
- `scripts/render-shared-layout.mjs` - renders shared layout components into pages
- `scripts/organize-content.mjs` - organizes exported blog and speech pages
- `docker/` and `compose.yaml` - local static server preview
- `.forgejo/` - deployment automation
## Shared Layout
The site remains static HTML, but common navigation, sidebar, and footer markup
is generated from `scripts/components.mjs`. Run `npm run render:layout` after
editing those components.
## Asset Layout
- `css/block-library.css` - WordPress block styles used by the pages
- `js/jquery.min.js` - shared jQuery dependency used by the pages
- `assets/theme/` - exported theme styles, scripts, fonts, and images
- `assets/vendor/` - exported third-party plugin/vendor assets
- `assets/uploads/` - uploaded images and PDFs used by content pages
## Local Preview
Run:
```bash
docker compose up
```
Then open:
```text
http://localhost:8080
```