Hi,
I was wondering where images being used for posts should be put? From what I’ve seen, it doesn’t seem like static
is the best place to put the images. But, I’m a little confused where they should be put. Also, if images shouldn’t be put in static
, what should go in static
? Thanks.
1 Like
Short answer: it’s up to you where you put your images.
You can put them all under /static/
, or under /assets/
or with your pages as page bundles.
Have a read about Page Bundles here: https://gohugo.io/content-management/page-bundles/
As for what goes into static
, I usually have images that are used site-wide in there, for example logos, banner images, etc.
1 Like
Seems I forgot to reply. Thanks for the help!