Adding most recent blog titles with links to blog pages
At the bottom of my blog pages, I am trying to add a section for most the 3 recent posts that match the topic / category of the blog you are on. I would like it to display the blog title that is a link to that specfic blog.
I was trying to use HubL functions to accomplish this... ?
{% set pop_posts = blog_popular_posts('default', 3, 'manufacturing') %} {% for pop_post in pop_posts %} <div class="post-title"><a href="{{ blog_tag_url('default') }}">{{ pop_post.name }}</a></div> {% endfor %}