@if (isset($category) && $category) @if (isset($posts) && count($posts)) @php $selections = $posts->filterPostsBySlug(['lolita', '1984'], 'created_at', true); @endphp @if (!$selections->isEmpty())

Our Selection

@endif @php $discounts = $posts->filterPostsByCategory('discount', 'created_at'); @endphp @if (!$discounts->isEmpty())

Discounts

@endif @else
No post
@endif @if ($category->getExtraFieldByAlias('library')) Library: {{ $category->getExtraFieldByAlias('library') }} @endif @endif @push ('scripts') @endpush