diff options
| author | sillylaird <sillylaird@fastmail.ca> | 2026-02-03 21:27:57 -0500 |
|---|---|---|
| committer | sillylaird <sillylaird@fastmail.ca> | 2026-02-03 21:27:57 -0500 |
| commit | 720d752748b793a2f5cf3cc14cb75ad86e8919c0 (patch) | |
| tree | 29120103307cb17e7d6c283cc198ec2484f934cd /docs/MANAGE.md | |
First commit
Diffstat (limited to 'docs/MANAGE.md')
| -rw-r--r-- | docs/MANAGE.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/docs/MANAGE.md b/docs/MANAGE.md new file mode 100644 index 0000000..e061837 --- /dev/null +++ b/docs/MANAGE.md @@ -0,0 +1,42 @@ +# Site Management (No Generator) + +This site is intentionally hand-edited HTML/CSS. + +## Shared assets + +- Global CSS: `/assets/css/site.css` +- Shared JS (menu + language + blog list): `/assets/js/site.js` + +## Optional includes (header/footer) + +If you want to stop copy/pasting the header/footer without using a static site generator: + +1) Add include placeholders: + +```html +<div data-include="header"></div> +... +<div data-include="footer"></div> +``` + +2) Add this script: + +```html +<script defer src="/assets/js/includes.js"></script> +``` + +3) Header/footer live here: + +- `/partials/header.html` +- `/partials/footer.html` + +Notes: + +- This is a "no build" approach. +- It requires JavaScript to render header/footer. +- If includes fail (offline, blocked fetch), the page still loads (just without injected header/footer). + +## SEO / crawl basics + +- `robots.txt` points to `sitemap.xml`. +- Update `sitemap.xml` when you add/remove top-level pages. |
