I’m trying to list some filtered data entries:
{% assign posts = site.data.posts | where:“category.name”,“category I want” %}
{% for post in posts limit:2 %}
{{ post.title }}
{% endfor %}
It works fine without the “where” filter - is it possible to filter on an assign like this? If not, is there another way to filter posts with a limit on the number of posts shown?