Page Bundles (Assets relative to page)

It’d be incredibly useful for organising content and assets to be able to stick assets next to their respective content pages, rather than in a site-global assets directory.

Hugo’s documentation for this explains it a bit better than I can:

The interface for this could be very similar to existing, as this could just auto-populate the assets attribute with the relative files. Although ideally without having to specify for each page whether it’s a bundle type or needs to explicitly define its assets.

Sorry if I got you wrong, but did you see

1 Like

Wow how on earth did I miss this :man_facepalming:. Yes that’s exactly what I mean, thanks! And looking at the source it even sets the assets attribute…


1 Like