@extends('layouts.blog', ['mainId' => 'blogPost', 'navColour' => 'navbar-light', 'navButtonColour' => 'btn-colour-cauldron', 'navButtonGhost' => 'btn-ghost-primary']) @section('header') @include('pages.resources.blog.partials.post_header', [ 'modifiers' => ['text', 'blog-post'], 'title' => $blogPost->title, 'subtitle' => $blogPost->summary, ]) @endsection @section('content')
{!! $blogPost->markdownMarkup() !!} @if ($blogPost->tags)

Tags
@foreach ($blogPost->tags as $tag) {{ $tag->name }} @endforeach

@endif @if (isset($relatedPosts))

Similar Articles

@foreach ($relatedPosts as $relatedPost)
@include('common.media_box', [ 'link' => $relatedPost->linkUrl, 'title' => $relatedPost->title, 'surtitle' => '', 'description' => $relatedPost->summary, 'image' => $relatedPost->imageUrl ?: 'https://placeholdit.imgix.net/~text?txtsize=43&txt=460%C3%97200&w=460&h=200', 'imageAlt'=> $relatedPost->getImageAltTag(), ])
@endforeach
@endif
@endsection