{% extends "posts/lists/layout.html" %} {% load static %} {% load text_filters %} {% load posts %} {% load paginator %} {% block body %}
{% for post_card_type, posts in post_blocks %} {% if post_card_type == "posts/cards/vertical.html" %}
{% for post in posts %} {% include "posts/cards/vertical.html" %} {% endfor %}
{% else %}
{% for post in posts %} {% include "posts/cards/horizontal.html" %} {% endfor %}
{% endif %}
{% endfor %}
{% paginator posts %}
{% endblock %}