This commit is contained in:
2020-05-27 18:00:19 +02:00
parent 270ed287db
commit a408984d11
14 changed files with 43 additions and 96 deletions
+1 -3
View File
@@ -1,11 +1,9 @@
{% extends "base.twig" %}
{% block content %}
<h2>{{ foo }}</h2>
<p>{{ qux }}</p>
{% for post in posts %}
{% include ['tease-'~post.post_type~'.twig', 'tease.twig'] %}
{% endfor %}
{% include 'partial/pagination.twig' with { pagination: posts.pagination({show_all: false, mid_size: 3, end_size: 2}) } %}
{% endblock %}