Skip to content

Process static/ images through the WebP pipeline #1284

Open

Description

@hiyach28

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.

Activity

  1. added
    area/performance
    kind/enhancement
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/performanceframework/hugokind/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions