@extends('frontend.en.layouts.master') @section('content')
{{-- ===== Page Title + Breadcrumbs ===== --}}
{{ $content->menu->name ?? 'Post' }}

{!! $content->title !!}

{{-- ===== Blog Details ===== --}}
{{-- Main Content --}}
{{-- Title --}}

{!! $content->title !!}

{{-- Main Image --}} @if ($content->image)
{{ $content->title }}
@endif {{-- Description --}}
{!! $content->description !!}
{{-- Child Contents --}} @if ($content->child_contents->count())
@foreach ($content->child_contents as $childContent)
@if ($childContent->type === 'text')
{!! $childContent->description !!}
@elseif($childContent->type === 'image' && $childContent->image)
{{ $childContent->title }}
@elseif($childContent->type === 'link' && $childContent->youtube_video_link)
@endif
@endforeach
@endif
{{-- Sidebar --}}
@endsection