{% for post in categoriesPosts %}
{% for cat in post.categrories.all %} {% endfor %}
{% endfor %}