I am new to Hugo. I understand the preferred way is to put ALL images of ALL content into a common “static” folder (while possibly creating subdirectories for images below that static folder) and use absolute paths (starting with a ‘/’) in my markdown. I don’t like this because it disables subdirectories of my content to be self-contained. Why isn’t it possible to add an image subdirectory to each content subdirectory or put the images directly into the content directory? The benefit would for example be that md editors with preview functionality such as Visual Studio Code could directly show the images in their previews as you can use relative paths.
I observed that this seems to work when calling hugo serve with the “–renderToDisk” option. Why does this NOT work with hugo serving from memory? Is there any other drawback besides longer rendering times I will encounter when putting images directly below the content folder?
Thank you,
Christoph