Add (tint)
This commit is contained in:
@@ -78,14 +78,14 @@ public function index(Request $request, $category_slug, $slug)
|
||||
OpenGraph::setUrl(url()->current());
|
||||
OpenGraph::addProperty('type', 'article');
|
||||
OpenGraph::addProperty('locale', 'en_US');
|
||||
OpenGraph::addImage($post->featured_image_cdn);
|
||||
OpenGraph::addImage($post->featured_og_image);
|
||||
|
||||
$jsonld_multi = JsonLdMulti::newJsonLd();
|
||||
$jsonld_multi->setTitle($post->title)
|
||||
->setDescription($post_description)
|
||||
->setType('Article')
|
||||
->addValue('headline', $post->title)
|
||||
->addImage($post->featured_image_cdn)
|
||||
->addImage($post->featured_og_image)
|
||||
->addValue('author', [
|
||||
'type' => 'Person',
|
||||
'name' => 'FutureWalker',
|
||||
@@ -96,7 +96,7 @@ public function index(Request $request, $category_slug, $slug)
|
||||
'name' => 'FutureWalker',
|
||||
'logo' => [
|
||||
'type' => 'ImageObject',
|
||||
'url' => asset('FutureWalker-logo-512x512.png'),
|
||||
'url' => asset('images/icons/icon-512x512.png'),
|
||||
],
|
||||
])
|
||||
->addValue('datePublished', $post->published_at->format('Y-m-d'))
|
||||
|
||||
Reference in New Issue
Block a user