docs
docs copied to clipboard
Process static/ images through the WebP pipeline
Follow-up from #1257 / #1259.
Images under static/ are not Hugo resources, so the WebP pipeline from #1259 cannot process them and they still ship in their original format.
To decide
- Mount them (or move them) under
assets/sorender-image.htmlcan resolve them, ascontent/enis mounted atassets/contentimg. - What breaks if their public paths change: references from content, layouts, and outside this repo. Anything that must keep its URL needs to stay published at the old path.
Done when
static/ PNG/JPEG images referenced from Markdown are offered as WebP with the original as fallback, and no previously published image URL 404s.