@extends('layouts/sidebar')
@section('title')
@if($title)
{{$title}} - Nieuws
@endif
@endsection
@section('page_class')
news_post post_container
@endsection
@section('page_container_class')
grey_background
@endsection
@section('site_container_class')
grey_background
@endsection
@section('breadcrumb')
@if($title)
{{-- 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($item->video)
@elseif($item->images && count($item->images) > 1)
@endif
@foreach($item->tags as $tag)
- {{$tag->titel}}
@endforeach
@if($item->edited && ($item->edited != $item->published))
-
Bijgewerkt:
@if($item->edited->format('d m') != $item->published->format('d m'))
{{Formatter::relativeDate($item->edited)}} om
@endif
{{$item->edited->format('H:i')}} uur
@else
-
{{Formatter::relativeDate($item->published)}}
om {{$item->published->format('H:i')}} uur
@endif
{!!Formatter::excerpt($item->content, 150)!!}
Lees verder...
@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)
@endif
@endsection
@push('scripts')
@endpush