@extends($_layout.'master') @include($_lib.'register-meta') @section('body')
@if ($article->post_type == 'video_embed' && $video = $article->getVideo())
@endif
@if ($article->post_type == 'video_embed' && $video = $article->getVideo()) @elseif($article->hasGallery())
@else
{{$article->title}}
@endif

{{$article->title}}

{{$article->dateFormat('d/m/Y')}} / đăng bởi {{$article->getAuthor()->name}} @if ($article->category && $tree = $article->category->getTree()) / Danh mục: @foreach ($tree as $cate) {{$cate->name}} @endforeach @endif

{!! $article->content !!}
@include($_template.'related-posts',[ 'list' => $helper->getRelatedPosts($article, 3), 'title' => 'Tin liên quan' ]) @include($_template.'comments',[ 'comments' => $article->publishComments, 'ref' => 'post', 'ref_id' => $article->id, 'url' => $article->getViewUrl() ])
@include($_template.'sidebar-post')
@endsection