@extends('news.layout', [ 'metaTitle' => $category->name . ' — News', 'metaDescription' => $category->description ?: ('Announcements in the ' . $category->name . ' category.'), 'metaCanonical' => route('news.category', $category->slug), ]) @section('news_content') @php $headerBreadcrumbs = collect([ (object) ['name' => 'Community', 'url' => route('community.activity')], (object) ['name' => 'Announcements', 'url' => route('news.index')], (object) ['name' => $category->name, 'url' => route('news.category', $category->slug)], ]); @endphp
@if($articles->isEmpty())
No articles in this category yet.
@else
@foreach($articles as $article) @include('news._article_card', ['article' => $article]) @endforeach
{{ $articles->links() }}
@endif
@endsection