@foreach($content as $block) 
	@if($block->type == "headerRichA")
		@php($block->image->url = $block->image->crops->{'16:9'}->{'1600'})
		<a href="{{$block->image->url}}" class="post_image page_margin_top prettyPhoto" title="{{$block->image->title}}">
			<img src="{{$block->image->url}}" alt="{{$block->image->title}}">
		</a>
		<div class="sentence margin_top_10">
			<span class="text">{{$block->image->title}}</span>
			@if($block->image->author)
			<span class="author">{{$block->image->author}}</span>
			@endif
		</div>
	@elseif($block->type == "text")
		<div class="text">{!!$block->text!!}</div>
	@elseif($block->type == "intro")
		<h3 class="excerpt">{{strip_tags($block->text)}}</h3>
	@elseif($block->type == "quote")
		<blockquote>
			{!!$block->text!!}
			<div class="author">{{$block->name}}</div>	
		</blockquote>
	@elseif($block->type == "image") 
		<a class="post_image page_margin_top prettyPhoto" href="{{$block->image->imageWide}}" title="{{$block->image->title}} &copy; {{$block->image->author}}">
			<img src="{{$block->image->imageWide}}" class="attachment-small-slider-thumb size-small-slider-thumb wp-post-image" alt="{{$block->image->title}}" title="" style="display: block;">
		</a>
		<div class="sentence">
			@if($block->image->title)
			<span class="text">{{$block->image->title}}</span>
			@endif
			@if($block->image->author)
			<span class="author">{{$block->image->author}}</span>
			@endif
		</div>
	@elseif($block->type == "video")
		@include('widgets/mediaplayer')
		<video controls>
		@foreach($block->video->streams as $stream)
			<source src="{!!$stream->stream_url!!}" type="application/x-mpegurl" /> 
		@endforeach
		</video>
		<span class="author">{{$block->video->author}}</span>
	@endif
@endforeach

