File: D:/HostingSpaces/SBogers10/honger7.komma.pro/resources/views/site/pages/posts/show.blade.php
@extends('site.master')
@section('title', $post->translation->meta_title)
@section('meta_description', $post->translation->meta_description)
@section('content')
{{-- Header with large image --}}
<header class="main">
@include('site.partials.posts.postHeaderShow',[
'post' => $post
])
{{-- Drips around header --}}
@include('site.partials.headerDrips')
</header>
{{-- Article --}}
<section class="post-body contained-layout">
<div class="post-container">
@foreach($post->blocks as $block)
@if(View::exists($block->view))
@include($block->view,[
'block' => $block
])
@endif
@endforeach
</div>
</section>
{{-- Related posts --}}
<section class="contained-layout">
<div class="related-posts posts-container">
<a class="back-to-grid" href="/blog">Terug naar overzicht</a>
@if($relatedPosts->isNotEmpty())
<h2>Gerelateerde posts</h2>
<div class="post-grid">
@foreach($relatedPosts as $post)
@include('site.partials.posts.postThumb',[
'post' => $post
])
@endforeach
</div>
@endif
</div>
</section>
{{-- todo: Stay tuned (stage 2) --}}
@endsection