@extends('frontend.layouts.master') @section('meta_title', $blog->translation->title . ' || ' . $setting->app_name) @push('custom_meta') @endpush @push('styles') @endpush @section('meta_title', $setting->app_name . ' | ' . $blog->title) @section('contents') {{ formatDate($blog->created_at) }} {{ __('by') }} {{ $blog->author->name }} {{ calculateReadingTime($blog->translation->description) }} {{ __('Min Read') }} {{ count($comments) }} {{ __('Comments') }} {{ $blog->translation->title }} {!! clean($blog->translation->description) !!} @if($blog->tags) {{ __('Tags ') }}: @foreach (json_decode($blog->tags) ?? [] as $tag) {{ $tag->value }} @endforeach @endif {{ __('Share') }} : {{ __('Author') }} {{ $blog->author->name }} {{ $blog->author->bio }} @if(count($comments) > 0) {{ count($comments) }} {{ __('Comments') }} @endif @foreach ($comments as $comment) {{ $comment->user->name }} {{ formatDate($comment->created_at) }} {{ $comment->comment }} @endforeach @auth {{ __('Post a comment') }} {{ __('Please keep your comment under 1000 characters') }} @csrf @if (Cache::get('setting')->recaptcha_status === 'active') @endif {{ __('Post Comment') }} @else {{ __('Please login to comment') }} @endauth @endsection @push('scripts') @endpush @push('scripts') @endpush
{!! clean($blog->translation->description) !!}
{{ $blog->author->bio }}
{{ $comment->comment }}
{{ __('Please keep your comment under 1000 characters') }}
{{ count($comments) }} {{ __('Comments') }}
{{ $comment->user->name }}
{{ formatDate($comment->created_at) }}{{ $comment->comment }}
@endforeach