{{ $post->title }}
{{ $post->excerpt }}
@endif @if ($post->coverUrl())@extends('layouts.app') @section('title', $post->metaTitle().' — блог teeu') @section('meta_description', $post->metaDescription()) @section('seo') @include('partials.seo.meta', [ 'canonical' => route('blog.show', $post), 'ogType' => 'article', 'ogTitle' => $post->metaTitle(), 'ogDescription' => $post->metaDescription(), 'ogImage' => \App\Support\OgImage::from($post->coverUrl()), ]) {{-- Article: заголовок, даты, автор и издатель. Без него запись остаётся просто страницей и не попадает в блоки новостей и статей. --}} @include('partials.seo.json-ld', ['data' => \App\Support\Seo::articleJsonLd($post)]) @include('partials.seo.json-ld', ['data' => \App\Support\Seo::breadcrumbJsonLd(array_values(array_filter([ ['name' => 'Главная', 'url' => route('home')], ['name' => 'Блог', 'url' => route('blog.index')], $post->category ? ['name' => $post->category->title, 'url' => route('blog.category', $post->category->slug)] : null, ['name' => $post->title, 'url' => route('blog.show', $post)], ])))]) @if ($post->category) @endif @endsection @section('content')
{{ $post->excerpt }}
@endif @if ($post->coverUrl())