{# see `templates/archive.twig` for an alternative strategy of extending templates #}
{% extends 'layouts/base.twig' %}

{% block content %}
    <section class="search-canvas ">
        <p class="my-5 position-relative fs-5 fw-bold sp-module-title">{{ __('Resultados de búsqueda para', 'Sindikatua')}}: "{{ search_query }}"</p>
        
        <div class="content-wrapper">
            {% for post in posts %}
                {% include ['partials/tease-' ~ post.type ~ '.twig', 'partials/tease.twig'] %}
            {% endfor %}

            {% set pagination = posts.pagination %}
            <div class="pagination-custom mt-5">
                {% include 'partials/pagination-custom.twig' %}
            </div>

        </div>
    </section>

{% endblock %}
