@extends('frontend.layouts.master') @section('meta_title', $model->title . ' || ' . $setting->app_name) @push('custom_meta') @endpush @push('styles') @endpush @section('meta_title', $setting->app_name . ' | ' . $model->title) @section('contents') {{ formatDate($model->created_at) }} {{ __('by') }} {{ @$model->author->name }} {{ calculateReadingTime($model->description) }} {{ __('Min Read') }} {{ count($comments) }} {{ __('Comments') }} {{ $model->title }} {!! clean($model->description) !!} {{ __('Share') }} : {{ __('Author') }} {{ @$model->author->name }} {{ @$model->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($model->description) !!}
{{ @$model->author->bio }}
{{ $comment->comment }}
{{ __('Please keep your comment under 1000 characters') }}
{{ count($comments) }} {{ __('Comments') }}
{{ $comment->user->name }}
{{ formatDate($comment->created_at) }}{{ $comment->comment }}
@endforeach