1.9 KiB
1.9 KiB
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 pagewebsite/about.html- about pagewebsite/contact.html- contact pagewebsite/*.html- other top-level pageswebsite/blog/YYYY/MM/DD/*.html- dated blog postswebsite/blog/categories/*.html- blog category archive pageswebsite/blog/tags/*.html- blog tag archive pageswebsite/speeches/index.html- main speeches archivewebsite/speeches/rev-dr-sun-myung-moon/*.html- yearly speech archive pageswebsite/speeches/categories/*.html- speech category archive pageswebsite/PAGES.md- map of old folder paths to current HTML pathscss/- site-level stylesheetsjs/- site-level scriptsassets/- images, PDFs, fonts, theme files, uploads, and vendor filesdocs/- maintainer documentationscripts/components.mjs- shared nav/sidebar/footer componentsscripts/render-shared-layout.mjs- renders shared layout components into pagesscripts/organize-content.mjs- organizes exported blog and speech pagesdocker/andcompose.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 pagesjs/jquery.min.js- shared jQuery dependency used by the pagesassets/theme/- exported theme styles, scripts, fonts, and imagesassets/vendor/- exported third-party plugin/vendor assetsassets/uploads/- uploaded images and PDFs used by content pages
Local Preview
Run:
docker compose up
Then open:
http://localhost:8080