docs icon indicating copy to clipboard operation
docs copied to clipboard

Process static/ images through the WebP pipeline

Open hiyach28 opened this issue 1 month ago • 0 comments

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/ so render-image.html can resolve them, as content/en is mounted at assets/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.

hiyach28 avatar Oct 14 '26 13:10 hiyach28