I am totally new to HUGO and having problems displaying an image in a post.
I created my post and called it post01. In the markdown file I added the following.
I have copied my image into the posts folder and also a sub folder called post01.
None of the following show the image and it is not in the source code when the
server is run. What am I missing?
![test image1] (/post01.jpg)
![test image2] (IMG/post01.jpg)
![test image3] (/IMG/post01.jpg)
![test image4] (post01/post01.jpg)
![test image5] (/post01/post01.jpg)
Is there somewhere I can download a example .md file with the image code in place…?
If the image is in /static/filename.jpg you can reference it with ![test image1](/filename.jpg).
the / always starts looking at the system root. everything in static gets copied over to the root.