lgaida / mediumish-gohugo-theme

A mediumish gohugo theme, ported from jekyll
MIT License
131 stars 99 forks source link

Images on BlogPost #28

Closed puneet798 closed 4 years ago

puneet798 commented 4 years ago

Hi, I want to know how can I put images/gifs on top of my blogposts link. Currently, they only allow me to give textual information. Instead, I want to put images for the customers to see and click on them.

fvant commented 4 years ago

Create a directory per post. Use a file named index.md for you content and place an image with the word cover in the filename in that same folder. The result looks like this:

lgaida commented 4 years ago

Thanks for helping out @fvant Setting an image for a post is also explained in the readme