@extends('page') @section('title') Nieuws | {{$news->title}} @endsection @include('_mediaplayer') @section('content')

{{$news->title}}

{{-- @if($news->media && count($news->media) > 0) @if(!$news->media[0]->title) @php($news->media[0]->title = $news->title) @endif
@endif --}} @foreach($news->blocks as $block) @if($block->type == "text") {!!$block->text!!} @elseif($block->type == "intro")
{!!$block->text!!}
@elseif($block->type == "quote")
{!!$block->text!!}
{{$block->name}}
@elseif($block->type == "image")
{{$block->image->title}} {{$block->image->imageWide}}
@elseif($block->type == "video") {{$block->video->author}} @endif @endforeach @if($podcast)

Fragment

{{ Formatter::relativeDate($podcast->created) }} uitgezonden @if($podcast->program) in {{ $podcast->program->name }} @endif

Meer over dit fragment

@endif
@endsection