Log in Sign up

Display related posts?

If I am on a blog post page with tag x, y and z, is it possible to only show other items that have tags x y or z?


2 months ago, 1 replies   request   developers   Edit question

It's not possible right now, but I want this to exist.

I think the basic implementation will be as you describe, filter all entries by those with shared tags and sort by the number of shared tags. This could be more sophisticated eventually but that should work for now. The syntax will look something like this:

{{#entry}}
...
{{#related}}
<a href="{{{url}}}">{{title}}</a>
{{/related}}
{{/entry}}

I'll let follow up here when it's ready

Answered 2 months ago · Edit answer

Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.