@if ($category->settings['show_name'])
{{ $category->name }}
@endif
@if ($category->settings['show_description'])
{!! $category->description !!}
@endif
@if ($category->settings['show_image'] && $category->image)
@endif
@if ($category->settings['show_search'])
@include('themes.starter.partials.filters')
@endif
@if (count($posts))
@foreach ($posts as $post)
@include ('themes.starter.partials.post')
@endforeach
@else
No post
@endif
@if (!empty($category->settings['posts_per_page']))
@endif
@if ($category->settings['show_subcategories'])
@include ('themes.starter.partials.post.subcategories')
@endif
@push ('scripts')
@endpush