Add tests for featured thumbnail generation; apply Pint formatting and related edits
This commit is contained in:
@@ -11,6 +11,22 @@
|
||||
(object) ['name' => 'Announcements', 'url' => route('news.index')],
|
||||
(object) ['name' => $archiveDate->format('F Y'), 'url' => route('news.archive', ['year' => $archiveDate->year, 'month' => $archiveDate->month])],
|
||||
]);
|
||||
|
||||
$seo = \App\Support\Seo\SeoDataBuilder::fromArray([
|
||||
'title' => $archiveDate->format('F Y') . ' — News Archive',
|
||||
'description' => 'News archive for ' . $archiveDate->format('F Y') . ' on Skinbase.',
|
||||
'canonical' => route('news.archive', ['year' => $archiveDate->year, 'month' => $archiveDate->month]),
|
||||
'breadcrumbs' => $headerBreadcrumbs,
|
||||
'structured_data' => [
|
||||
[
|
||||
'@context' => 'https://schema.org',
|
||||
'@type' => 'CollectionPage',
|
||||
'name' => $archiveDate->format('F Y') . ' — News Archive',
|
||||
'description' => 'Published News stories from ' . $archiveDate->format('F Y') . '.',
|
||||
'url' => route('news.archive', ['year' => $archiveDate->year, 'month' => $archiveDate->month]),
|
||||
],
|
||||
],
|
||||
])->build();
|
||||
@endphp
|
||||
|
||||
<x-nova-page-header
|
||||
|
||||
Reference in New Issue
Block a user