@extends('theme.spade.layouts.main') @section('title') {{ $subPage == true ? $post->title : $pageDetail->title }} @endsection @section('meta') @if($subPage) @else @endif @endsection @section('canonical') @if($subPage) @else @endif @endsection @section('content') @php if ($subPage) { $breadcrumbData = [ [ 'title' => $pageDetail->title, 'link' => route('hair_transplant'), ], [ 'title' => $post->title, 'link' => null, ], ]; } else { $breadcrumbData = [ [ 'title' => $pageDetail->title, 'link' => route('hair_transplant'), ], ]; } @endphp @include('theme.spade.layouts.includes.breadcrumb', $breadcrumbData)

Overview

Success Results

@empty(!$transformations) @foreach ($transformations ?? [] as $transformation)
@endforeach @endempty
@if ($subPage) @yield('sub-content') @else {{-- @if (count($posts) > 0) @php $array = $posts->toArray(); $post = reset($array); @endphp

{{ $post['title'] }}

{!! $post['full_detail'] !!} @endif --}} {!! $pageDetail->description !!} @endif
Image
@php $contents = explode('', $pageDetail->summary) @endphp

{{ $contents[0] }}

{!! $contents[1] !!}

@endsection @push('js') @endpush