docs(DESIGN): add media model note (git files beside article; no S3); garage bucket+keys deleted
This commit is contained in:
@@ -164,6 +164,14 @@ Brand: **Kontra** (centered masthead). Home section heading: **Topics** (not "By
|
|||||||
|
|
||||||
Reference implementation: `prototype/` (index.html, article.html, assets/kontra.css).
|
Reference implementation: `prototype/` (index.html, article.html, assets/kontra.css).
|
||||||
|
|
||||||
|
## Media (implementation note)
|
||||||
|
|
||||||
|
- Images are **git files beside their article**: `content/subjects/<s>/<slug>/<file>`.
|
||||||
|
Reference via `{{media:<slug>/<file>}}` (front-matter `image:` MUST be quoted —
|
||||||
|
`image: "{{media:slug/file.jpg}}"`). The app serves `/media/<path>` by searching
|
||||||
|
article folders (safe-path guarded). No S3/object store (Garage dropped 2026-09-10).
|
||||||
|
- Hero image: grayscale plate per §Hero plate; leave `image: ""` for text-only pieces.
|
||||||
|
|
||||||
## Token wiring (for the theme)
|
## Token wiring (for the theme)
|
||||||
|
|
||||||
- Implement as CSS custom properties on `:root` (the design-token layer).
|
- Implement as CSS custom properties on `:root` (the design-token layer).
|
||||||
|
|||||||
Reference in New Issue
Block a user