HTML Coding Shop HubSpot Blog

HubL code to show the most recent blog post listing with matching tags

Written by Amy Andrews | Feb 14, 2025 7:38:11 PM

Here is a link to my codepen that shows the HubL code that you can add to the bottom of a blog post template. It will show the 3 most recent blog posts where the tags match that of the blog post you are on. You can add your own css. I used flexbox to show them as a grid.