Read this before editing anything here.
Markdown and images live in the Obsidian vault:
~/Documents/Obsidian/Thing/CreativeWork/WebSite/johnmackay-net/
pull-content.sh copies them here, one way, vault → repo. This repository is
the build copy: it is what Eleventy reads and what Forgejo and Codeberg
hold, but it is not where content is authored.
| Allowed here | Reason |
|---|---|
*.sh |
scripts are machinery |
*.js, *.cjs |
Eleventy config, filters, data files |
*.njk |
templates and layouts |
*.css |
styles |
*.json |
package.json, _data/*.json |
README.md, RULES.md |
documentation for this repo |
_data/, static/, _includes/ |
build machinery |
| Forbidden here | Edit in the vault instead |
|---|---|
*.md (any site content) |
post frontmatter, body text, YAML keywords |
attachments/* |
images |
If a change is needed in a .md file, make it in the vault and let
pull-content.sh bring it across. Editing markdown here creates a divergence
that the next pull will silently revert, and that has already cost real work.
On 2026-12-01 a schema migration was applied to markdown in this repository rather than the vault. 336 files diverged. The vault — which is authoritative — kept the old shape, and the next pull would have reverted the entire migration. Repairing it required copying every markdown file back into the vault, against the normal direction of flow.
The rule is not bureaucracy. It is the record of a mistake worth not repeating.
git status --porcelain | grep -E '\.(md|png|jpg|webp)$'
Anything listed here is a content file. If the change was deliberate and reviewed, it also has to reach the vault — or it will be overwritten.