Hi,
Inside a view, how to I create a condition based on the post type?
I was thinking a Twig snippet like this?
{% if post.type == 'blog' %}
{% endif %}
But the property "type" is not the right one. Nor is "slug", that gets me the slug of the individual post. I need the slug of the post type basically.