@extends('layouts.public') @section('title', $author->name) @section('content')

{{ $author->name }}

@{{ $author->username }}

@if($author->bio)

{{ $author->bio }}

@endif
@if($author->website)Website@endif @if($author->twitter)Twitter@endif @if($author->facebook)Facebook@endif @if($author->linkedin)LinkedIn@endif

Posts by {{ $author->name }} ({{ $blogs->total() }})

@forelse($blogs as $blog)
@if($blog->category){{ $blog->category->name }}@endif

{{ $blog->title }}

{{ $blog->published_at?->format('M d, Y') }}{{ $blog->readingTime() }} min
@empty
No posts yet.
@endforelse
{{ $blogs->links() }}
@endsection