adap function php

This commit is contained in:
2020-05-28 09:35:06 +02:00
parent 9c18a8ced4
commit 4bdbddc84d
14 changed files with 207 additions and 334 deletions
@@ -1,13 +0,0 @@
{# see `archive.twig` for an alternative strategy of extending templates #}
{% extends "base.twig" %}
{% block content %}
{# see `base.twig:27` for where this block's content will be inserted #}
<div class="content-wrapper">
{% 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}) } %}
</div>
{% endblock %}
+1 -1
View File
@@ -21,5 +21,5 @@
</section>
</article>
</div><!-- /content-wrapper -->
</div>
{% endblock %}