@extends('layouts.app') @section('content') @include('partials.publications-header') @if (!have_posts())
{{ __('Sorry, no results were found.', 'sage') }}
@endif @php global $post; @endphp @if (\App\Controllers\App::getPage() == 1)
@php $counter = 1 @endphp @while (have_posts()) @php the_post() @endphp @if($counter === 1) @include('partials.content-news-large', ["post" => $post]) @elseif($counter === 2 || $counter === 3) @include('partials.content-news-medium', ["post" => $post]) @else @include('partials.content-news-small') @endif @php $counter++ @endphp @endwhile
@else
@while (have_posts()) @php the_post() @endphp @include('partials.content-news-default') @endwhile
@endif @endsection