@extends('news.layout', [ 'metaTitle' => ($author->name ?: $author->username) . ' — News Author', 'metaDescription' => 'News stories and announcements by ' . ($author->name ?: $author->username) . '.', 'metaCanonical' => route('news.author', ['username' => $author->username]), ]) @section('news_content') @php $authorLabel = $author->name ?: $author->username; $headerBreadcrumbs = collect([ (object) ['name' => 'Community', 'url' => route('community.activity')], (object) ['name' => 'Announcements', 'url' => route('news.index')], (object) ['name' => $authorLabel, 'url' => route('news.author', ['username' => $author->username])], ]); @endphp
{{ $authorLabel }}
News author

{{ $authorLabel }}

{{ $author->profile?->bio ? Str::limit($author->profile->bio, 180) : 'Writes updates, announcements, and editorial stories for Skinbase.' }}

@if($articles->isEmpty())
This author has not published News articles yet.
@else
@foreach($articles as $article) @include('news._article_card', ['article' => $article]) @endforeach
{{ $articles->links() }}
@endif
@endsection