@extends('news.layout', [ 'metaTitle' => config('news.rss_title', 'News'), 'metaDescription' => config('news.rss_description', ''), 'metaCanonical' => route('news.index'), ]) @section('news_content') @php $headerBreadcrumbs = collect([ (object) ['name' => 'Community', 'url' => route('community.activity')], (object) ['name' => 'Announcements', 'url' => route('news.index')], ]); @endphp
@if(($articles->total() ?? 0) > 0) {{ number_format($articles->total()) }} articles @endif RSS feed
@if($featured)
@if($featured->cover_url) {{ $featured->title }} @else
@endif
Featured story @if($featured->category) {{ $featured->category->name }} @endif

{{ $featured->title }}

@if($featured->excerpt)

{{ Str::limit(strip_tags((string) $featured->excerpt), 220) }}

@endif
{{ $featured->author?->name ?? 'Skinbase' }} {{ $featured->published_at?->format('d M Y') }} {{ $featured->reading_time }} min read {{ number_format((int) $featured->views) }} views
@endif
@if($articles->isEmpty())
No announcements have been published yet.
@else
@foreach($articles as $article) @include('news._article_card', ['article' => $article]) @endforeach
{{ $articles->links() }}
@endif
@endsection