20 lines
931 B
PHP
20 lines
931 B
PHP
<x-stylist-theme-saasland::layouts.app
|
|
:title="$record->title"
|
|
:description="$record->excerpt"
|
|
eyebrow="Blog"
|
|
:breadcrumbs="['Blog' => route('blog.public.index'), $record->title => null]"
|
|
>
|
|
<section class="content-section">
|
|
<div class="wrap content-layout">
|
|
<article class="content-card prose-content">
|
|
<div class="article-meta">
|
|
@if($record->author)<span>{{ $record->author->name }}</span>@endif
|
|
@if($record->published_at)<time datetime="{{ $record->published_at->toDateString() }}">{{ $record->published_at->format('j F Y') }}</time>@endif
|
|
</div>
|
|
@if($record->excerpt)<p class="content-lead">{{ $record->excerpt }}</p>@endif
|
|
<div class="cms-content">{!! nl2br(e($record->content)) !!}</div>
|
|
</article>
|
|
</div>
|
|
</section>
|
|
</x-stylist-theme-saasland::layouts.app>
|