@extends(getTemplate().'.view.layout.layout') @section('title') {{ !empty($setting['site']['site_title']) ? $setting['site']['site_title'] : '' }} - {{ $post->title ?? '' }} @endsection @section('meta_description',$post->meta_description) @section('meta_keyword',$post->meta_keyword) @section('page')
{{ $post->title ?? '' }} {{ date('d F Y',$post->created_at) }} @if (!empty($post->category)) {{ $post->category->title ?? '' }} @endif
{!! $post->pre_content !!}
{!! $post->content !!}
{{ trans('main.tags') }} : @foreach(explode(',',$post->tags) as $tag) @endforeach @if($setting['site']['blog_comment'] == 1 && $post->comment == 'enable')

{{ trans('main.comments') }}


{{ csrf_field() }}
    @foreach($post->comments as $comment)
  • {{ $comment->name }} {!! $comment->comment !!} {{ trans('main.reply') }} @if(count($comment->childs)>0)
      @foreach($comment->childs as $child)
    • {{ $child->name }} {!! $child->comment ?? '' !!}
    • @endforeach
    @endif
  • @endforeach
@endif
@endsection @section('script') @if(!isset($user)) @endif @endsection