Hello, I am new so am not sure if this is possible:
I would like to have a section on one page which displays post featured images (maybe specified in the front matter or the first image used in the post) together with a summary of that post. If this could be done to automatically pick up the most recent post in any given category, that would be marvellous. Can it be done?
A featured image is very useful indeed since it can be separated from the {{ .Content }} variable of a post.
However it really needs an alt attribute. Spent sometime trying to get this to work. Here it is:
<img{{ with .Params.featured_image }} src="{{ . }}"{{ end }} alt="{{ .Title }}">
I’m new to Hugo, I can’t get featured image to work. I followed the instruction above, it’s not working.
Can someone please help, I need step by step instructions.
Please help. Thank you.
Hi - could you please go ahead and make a new post in here, and give us the info cited in Requesting Help. (If you’re not even sure what that means, then I would say, start by reading the docs and trying the tutorials. )
Thanks for replying, I will check the tuts and docs.
are there any newbie tutorials for creating featured images on a blog post?
If not can someone please create one.
Thank you all.
I like this addition; however, is there a way to have the size of the featured image responsive to the size of the screen? The images are too big. Thoughts?