This commit is contained in:
parent
9fee73fd96
commit
fe208b0a77
4 changed files with 19 additions and 161 deletions
|
|
@ -1,50 +0,0 @@
|
|||
# Maintenance guide
|
||||
|
||||
Use this guide when making regular content changes to the live static site.
|
||||
|
||||
## Safe change workflow
|
||||
|
||||
1. Start from an up-to-date `main`.
|
||||
2. Create a branch.
|
||||
3. Edit the smallest set of files needed.
|
||||
4. Start a local server from the repo root:
|
||||
|
||||
```bash
|
||||
docker compose up
|
||||
```
|
||||
|
||||
5. Preview each changed page at `http://localhost:8080/`.
|
||||
6. Check that images, internal links, and forms still behave as expected.
|
||||
7. Commit, push, and open a PR into `main`.
|
||||
|
||||
## What to edit first
|
||||
|
||||
For a maintained public website, prioritize these pages:
|
||||
|
||||
- `index.html`
|
||||
- `about-us/index.html`
|
||||
- `contact/index.html`
|
||||
- `events/index.html`
|
||||
- `services/index.html`
|
||||
- `videos/index.html`
|
||||
|
||||
These are the most visitor-facing pages. Archive pages can be improved later
|
||||
unless they contain broken links or outdated information that visitors rely on.
|
||||
|
||||
## What to avoid
|
||||
|
||||
- Do not rename public route folders without a redirect plan.
|
||||
- Do not edit `.forgejo/` for content or design changes.
|
||||
- Do not add build tools, package managers, or framework dependencies.
|
||||
- Do not delete legacy-looking assets just because they look unused. Verify
|
||||
references first with `rg` and a browser preview.
|
||||
|
||||
## Suggested cleanup order
|
||||
|
||||
1. Confirm contact details, service times, and current event information.
|
||||
2. Check the core pages on desktop and mobile.
|
||||
3. Fix broken internal links and missing images.
|
||||
4. Remove or adjust forms that cannot submit on a static site.
|
||||
5. Clean duplicated export metadata only after confirming pages render the same.
|
||||
6. Later, consider a tiny static templating workflow if shared navigation/footer
|
||||
edits become frequent.
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
# Site structure
|
||||
|
||||
This repository is the production source for `https://familyfed.bcgen.ie/`.
|
||||
Everything is served as static files, so top-level page folders are also URL
|
||||
paths.
|
||||
|
||||
## Do not casually move these
|
||||
|
||||
These top-level directories are public routes. Renaming or moving them changes
|
||||
the live URL unless redirects are added at the hosting layer.
|
||||
|
||||
- `about-us/`
|
||||
- `contact/`
|
||||
- `events/`
|
||||
- `register/`
|
||||
- `services/`
|
||||
- `the-founders/`
|
||||
- `videos/`
|
||||
- `2013-sunday-service-archive/` through `2018-sunday-service-archive/` compatibility redirects
|
||||
- `blog/`
|
||||
|
||||
## Main content groups
|
||||
|
||||
| Group | Paths | Notes |
|
||||
| --- | --- | --- |
|
||||
| Core pages | `index.html`, `about-us/`, `contact/`, `events/`, `register/`, `services/`, `the-founders/`, `videos/` | Best first targets for active maintenance. |
|
||||
| Sunday service archives | `archive/sunday-services/YYYY/`, plus `services/` | Mostly link lists to Vimeo or YouTube. Old top-level year folders are redirect stubs only. |
|
||||
| Speeches archive | `archive/speeches/`, `archive/speeches/rev-dr-sun-myung-moon/YYYY/` | Large historical text archive. Old top-level speech folders are not kept. |
|
||||
| Blog mirror | `blog/` | Generated archive, category, tag, and dated pages. |
|
||||
| Static assets | `assets/` | CSS, JavaScript, fonts, images, PDFs, and static vendor files. |
|
||||
|
||||
## Asset locations
|
||||
|
||||
- Site theme CSS, JavaScript, fonts, and images live under `assets/theme/parabola/`.
|
||||
- Shared page/content CSS lives under `assets/css/`.
|
||||
- General JavaScript lives under `assets/js/`.
|
||||
- Uploaded images and PDFs live under `assets/uploads/`.
|
||||
- Static vendor files used by old exported pages live under `assets/vendor/`.
|
||||
|
||||
For new production images or PDFs, prefer adding them under
|
||||
`assets/uploads/YYYY/MM/`.
|
||||
|
||||
## Maintenance notes
|
||||
|
||||
- Use a local web server when previewing: `docker compose up`.
|
||||
- Check pages at `http://localhost:8080/...`, not by opening files directly.
|
||||
- Keep edits small and URL-aware.
|
||||
- Keep real archive pages under `archive/`.
|
||||
The old top-level Sunday service folders are kept only so old links redirect
|
||||
instead of breaking. Old top-level speech folders have been removed.
|
||||
- When editing shared header, navigation, or footer markup, remember that the
|
||||
markup is duplicated across many HTML files.
|
||||
- Some legacy class names remain in exported markup and CSS. Treat them as static
|
||||
styling hooks, not as a CMS dependency.
|
||||
Loading…
Add table
Add a link
Reference in a new issue