adap function php
This commit is contained in:
@@ -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 %}
|
||||
@@ -21,5 +21,5 @@
|
||||
|
||||
</section>
|
||||
</article>
|
||||
</div><!-- /content-wrapper -->
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user