@php $genericRepository = new \App\Repositories\GenericRepository('Blog'); $blogs = $genericRepository->get_latest(3); @endphp @if(count($blogs)))
@if ($values['heading']['subtitle'] ?? '' != ''){{ $values['heading']['subtitle'] }}@endif @if ($values['heading']['title'] ?? '' != '')

{{ $values['heading']['title'] }}

@endif {!! Utils::parse_tinymce($values['heading']['brief']) !!}
Go to Blog
@foreach ($blogs as $blog) @php $files = array_values($blog->getFiles('photos')->toArray()); $link = url($blog->seo_by_locale($locale)->slug); @endphp
{{ $blog->title }}
{{ date('d', strtotime($blog->publish_date)) }} {{ date('M', strtotime($blog->publish_date)) }}
@endforeach
Shape
Shape
Shape
Shape
Shape
Shape
@endif