{{ $blog->title }}
@if(!empty($blog->categories)) @endif

{{ $blog->title }}

{{ $blog->updated_at->format('M d, Y') }} @if (!empty($blog->views_count)) {{ number_format($blog->views_count) }} {{$blog->views_count == 1 ? __('blogs.view') : __('blogs.views') }} @endif
{!! $blog->description !!}
@if (!empty($blog->tags))

{{ __('blogs.tags') }}:

    @foreach ($blog->tags as $tag)
  • {{ $tag->name }}
  • @endforeach
@endif @if(!empty($blog->author?->profile))
@if (!empty($blog->author->profile->image))
{{ $blog->author?->profile?->full_name }}
@endif @if (!empty($blog->author?->profile?->short_name))
{{ __('blogs.author') }}

{{ $blog->author?->profile->short_name }}

@endif
@endif
@if (!empty($relatedBlogs) && $relatedBlogs->isNotEmpty())

{{ __('blogs.explore_related_articles') }}

@foreach($relatedBlogs as $relatedBlog)
{{ $blog->title }}
@if(!empty($relatedBlog->categories))
@foreach ($relatedBlog->categories as $category) {{ $category->name }}{{ !$loop->last ? ',' : '' }} @endforeach
@endif @if (!empty($relatedBlog->title))

{{ $relatedBlog->title }}

@endif @if (!empty($relatedBlog->description))

{{ Str::limit(strip_tags($relatedBlog->description), 100) }}

@endif
{{ $relatedBlog->author?->profile?->full_name }}
@if (!empty($relatedBlog->author?->profile?->short_name))

{{ $relatedBlog->author?->profile->short_name }}

@endif
{{ $relatedBlog->updated_at->format('M d, Y') }}
@endforeach
@endif