My site has six main tags for content. I created a home page which shows the most recent post in each tag, using a partial:
{{> homecard hptag="blog"}}
{{> homecard hptag="podcast"}}
{{> homecard hptag="photos"}}
In the partial, I filter the content:
{{#get "posts" filter="primary_tag:{{hptag}}" limit="1"}}
It works. However, the posts order in the home page is fixed, as shown above, even if (for instance) the podcast post is newer than the blog post.
Is there a way to get/filter only the latest post in each tag, and show them in date order?