CMS Development

torivt
Member

Blog Post Page Link Featured Image

On a blog post page is there no way to add a link to a feature image?

 

Thanks

0 Upvotes
4 Replies 4
dennisedson
HubSpot Product Team
HubSpot Product Team

Blog Post Page Link Featured Image

@torivt,

<a href =''><img src="{{ content.featured_image }}"/></a>

add that to the post template wherever you want it and style away

0 Upvotes
torivt
Member

Blog Post Page Link Featured Image

So that code works if I set a featured image but then 2 featured images show.

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Blog Post Page Link Featured Image

@torivtlook for that

{{ content.featured_image }}

elsewhere in your code.  if it helps, paste the code here and we can better work through it

 

 

torivt
Member

Blog Post Page Link Featured Image

0 Upvotes