@extends('components.layout') @section('title', $author->name . ' | Articles | ' . ($settings['site_name'] ?? 'LOCAL PULSE')) @section('content')
@if($author->avatar) {{ $author->name }} @else
{{ strtoupper(substr($author->name, 0, 2)) }}
@endif

{{ $author->name }}

@if($author->position)

{{ $author->position }}

@endif @if($author->bio)

{{ $author->bio }}

@endif
{{ $articles->total() }} articles · {{ number_format($totalViews) }} views
@if($articles->isNotEmpty())
@foreach($articles as $article) @endforeach
@else

No articles from this author yet.

@endif
@endsection