{{ partial:components/molecules/blocks/container }}
    {{ partial:components/molecules/navigation/breadcrumbs }}
{{ /partial:components/molecules/blocks/container }}

{{
    partial
    src="components/molecules/blocks/page-header"
    title="{title ?? 'Search' | trans}"
}}

{{ partial:components/molecules/blocks/container classes="py-5" }}
    {{ partial src="components/organisms/forms/search-form" }}
{{ /partial:components/molecules/blocks/container }}

{{ partial:components/molecules/blocks/container classes="py-5" }}
    {{ search:results index="default" paginate="9" as="results" }}
        {{ if no_results }}
            <p>{{ trans key="No results found for :q" q="{get:q}" }}</p>
        {{ else }}
            <p><span class="font-semibold">{{ total_results }}</span> {{ 'search results' | trans }}</p>

            {{ partial src="components/organisms/lists/stacked-list" :entries="results" }}
        {{ /if }}
    {{ /search:results }}
{{ /partial:components/molecules/blocks/container }}
