@extends(get_view('index')) @section('title'){{ $category->content->name ?? '' }} - @endsection @section('header') @endsection @section('content')

{{ $category->content->name ?? '' }}

@if ( count($category->posts) > 0 )
@foreach ($category->posts as $post)
@include(get_view('components.posts.horizontal'), ['post' => $post])
@endforeach
@else
{{ translate('data_not_found') }}
@endif

{{ translate('other_categories') }}


@foreach (Site::get_main_post_categories() as $c) @if ( $c->id != $category->id )
@if ($c->image != null)
@else
@endif
{{ $c->content->name ?? 'Category Name' }}
@endif @endforeach
@endsection @section('footer') @endsection