Hi - I am new to Hugo. I am using the Hugo-Sustain theme which has been very handy to generate a website quickly.
Similar to the example site, I am storing my images under static/img directory. I am trying to call one of my images in a blog post (directory: content/blog/blog_post.md). To try and call the image I have tried the below with and without a leading slash:
When I inspect the html or right click on the error icon displaying locally and on my webpage I am getting a 404 not found error. I have checked the spelling, file path, extension, etc. a million times. Am at a loss of how to get a simple image to display so any help would be much appreciated!
Hard to say without more information, but the destination should begin with a slash. What’s the baseURL for your project? Can you share your project repository?