index.twig 292 B

12345678910
  1. {% extends "base.twig" %}
  2. {% block content %}
  3. {% for post in posts %}
  4. {% include ['tease-'~post.post_type~'.twig', 'tease.twig'] %}
  5. {% endfor %}
  6. {% include 'partial/pagination.twig' with { pagination: posts.pagination({show_all: false, mid_size: 3, end_size: 2}) } %}
  7. {% endblock %}