@extends('layouts.app') @section('head') @endsection @section('content')
Back to hub

{{$category->name}}

@if(!$posts->isEmpty()) @foreach($posts as $post)
{{$post->title}}
{{Str::readDuration($post->content)}} min read @if($post->categories->count()>0)
@foreach($post->categories as $category) {{$category->name}} @endforeach
@endif

{{$post->title}}

{{$post->excerpt}}

{{$post->author->name}}

{{$post->author->name}}

@if($post->author->title)

{{$post->author->title}} @if($post->author->company) - {{$post->author->company->name}} @endif

@endif
@endforeach @else

There are no content in this page yet.

@endif
{{--simple pagination--}} {{$posts->links()}}
@endsection