@extends('layouts/sidebar') @section('title') @if($title) {{$title}} - Nieuws @endif @endsection @section('page_class') news_post post_container @endsection @if(!empty($listingJsonld)) @push('head') @include('partial/listing_jsonld', ['title' => $title, 'news' => $news, 'canonical' => $canonical, 'pageNumber' => $pageNumber]) @endpush @endif @section('page_container_class') grey_background @endsection @section('site_container_class') grey_background @endsection @section('breadcrumb') @if($title) @endif @endsection @section('content')
{{-- Nieuws komt met 15 berichten per pagina. Deel op in 3 x 2-breed + 3 x 3-breed --}} @foreach(array_slice($news, 0, 6) as $item) @if($loop->index % 2 == 0)
@endif
@if($loop->index % 2 == 1)
@endif @endforeach
@include('partial/newslist_small', ['id' => 'items-more-news', 'news' => array_slice($news, 6, count($news))])
@if(count($news) >= 15)
{{-- The JavaScript loads more items in place; the link to the next page is for search engines --}} LAAD MEER NIEUWSBERICHTEN
@endif
@endsection @push('scripts') @endpush