@php $u = $article->getViewUrl(); switch ($article->id) { case $options->theme->about->about_page_id: $layout = 'master'; break; case $options->theme->policy->page_id: $layout = 'master'; break; case $options->theme->products->suggest_page_id: $layout = 'master'; break; default: $layout = 'blog'; break; } @endphp @extends($_layout.$layout) @section('title', $page_title) @include($_lib.'register-meta') @section('page.header.show', 'breadcrumb') @section('content') @switch($article->id) @case($options->theme->about->about_page_id) {!! $html->about_contents->components !!} @break @case($options->theme->policy->page_id)
{!! $html->policy_contents->components !!}
@break @case($options->theme->products->suggest_page_id) @include($_template.'style-sets.suggestion-styles') @break @default

{{$page_title}}

@if (count($pages))
@foreach ($pages as $page)
{{$page->title}}
@if ($page->category)
{{$page->category->name}}
@endif

{{$page->title}}

{{$page->getShortDesc(120)}}
@endforeach
{{$pages->links($_template.'pagination')}}
@else
Không tìm thấy kết quả phù hợp!
@endif @endswitch @endsection