How do I include images in my blog?

I want to include images in my hugo blog which I am hosting on github pages. I put the images in the /static folder and ran hugo server but the images are not showing up. I am linking to static/blogimages/clonerepo.png, which is where my image is. Thanks.

Can you point me to your Github repo? Just shooting from the hip, I’m guessing your issue is the inclusion of ‘static’ in your path. Try removing that from any references in your markdown files/content/templates and see if that does the trick.

1 Like

You were right - taking out the static did the trick!

1 Like

another method is that you store the images in another path ,and use it in absolute http path. the path has no relation with hugo。