@extends('layouts.default') @push('title', get_phrase('Blog Details')) @push('meta')@endpush @push('css') @endpush @section('content') @php $total_comments = count_comments_by_blog_id($blog_details->id); $total_likes = count_likes_by_blog_id($blog_details->id); @endphp

{{ $blog_details->title }}

  • author-image

    {{ $blog_details->author_name }}

  • @if ($blog_details->keywords)
  • blog-tag @php $tags = json_decode($blog_details->keywords, true); if (is_array($tags) && count($tags) > 0) { $tags = array_column($tags, 'value'); } @endphp {{ $tags ? implode(', ', $tags) : '' }}
  • @endif
  • blog-comment {{ $total_comments }}
  • created-date {{ date('d M, Y', strtotime($blog_details->created_at)) }}
blog-thumbnail
{!! removeScripts($blog_details->description) !!}
    @php $tags = $blog_details->keywords ? json_decode($blog_details->keywords, true) : []; if (is_array($tags) && count($tags) > 0) { $tags = array_column($tags, 'value'); } else { $tags = []; } @endphp @foreach ($tags as $tag)
  • {{ ucfirst($tag) }}
  • @endforeach
@auth @endauth
@include('frontend.default.blog.author_details')

{{ $total_comments }}

@isset(auth()->user()->id)

{{ get_phrase('Post A Comment') }}

@csrf
@endisset @foreach ($blog_comments as $comment) @include('frontend.default.blog.comment') @endforeach
@endsection @push('js') @endpush