Hey Guys!
Im using the Hugo framework since it is great with Markdown, but when I type the code to show an image the image wont show up on the page. Any ideas why?
My code : ![](/static/slack.png)
Regards,
Hugo.
Hey Guys!
Im using the Hugo framework since it is great with Markdown, but when I type the code to show an image the image wont show up on the page. Any ideas why?
My code : ![](/static/slack.png)
Regards,
Hugo.
Have a look at the URL of the img
element as it is shown in the developer tools of your favorite browser. I suppose that you should drop the leading /
. You might also consider using the search function in the forum – I seem to remember that similar questions have been asked and answered here before.
Also, remove /static
from the URL. I would recommend you create an images folder inside the static folder so your URLs are /images/image.png
@anon34553931 is correct.
Thanks @anon34553931, @chrillek for the answers and @jmooring for veryfing!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.