Add featured image block to Slippers blog template
Why is this change being made?
Closes https://gitlab.com/gitlab-com/marketing/inbound-marketing/growth/-/issues/1091
Adds the logic to check for image_title
in the blog post. If it exists, it renders the Slippers blog featured image, which right now is just an img with 100% width and an empty alt tag since it's decorative.
If you go to review this manually, the image will be pretty large. But once we merge !77190 (merged), we'll have the actual layout component available, which will size the image appropriately, and we can just move this block into the template. This MR just gives us the corresponding ERB logic to make it work.
Author Checklist
-
Provided a concise title for the MR -
Added a description to this MR explaining the reasons for the proposed change, per say-why-not-just-what -
Assign this change to the correct DRI