@php // Get video blogs $videoBlogs = getBlogsByMetaData(['is_video_blog' => 1], 6, true, ['author', 'media', 'categories', 'comments'])[ 'blogs' ]; $firstVideoBlogs = $videoBlogs->take(1); $remainingVideoBlogs = $videoBlogs->slice(1); @endphp @if (count($videoBlogs) > 0)

{{ __('frontend::translate.Video Post') }}

@foreach ($firstVideoBlogs as $blog)
@if ($blog->getMeta('video_url')) @endif
{{ $blog->title }}
{{ $blog->categories->first()->name ?? 'Uncategorized' }}

{{ getCountedWord($blog->title, 70) }}

@endforeach
@foreach ($remainingVideoBlogs as $key => $blog)
{{ $blog->title }}

{{ getCountedWord($blog->title, 50) }}

@endforeach
@endif