24 lines
951 B
PHP
24 lines
951 B
PHP
@extends('stylist-theme-saasland::layouts.app')
|
|
|
|
@php
|
|
$title = $record->title;
|
|
$description = $record->excerpt;
|
|
$eyebrow = 'Blog';
|
|
$breadcrumbs = ['Blog' => route('blog.public.index'), $record->title => null];
|
|
@endphp
|
|
|
|
@section('content')
|
|
<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>
|
|
@endsection
|