{{-- Breadcrumb --}}
{{-- Share sidebar (desktop) --}} {{-- Article main --}}
{{-- Categories --}} @if($post->categories->count())
@foreach($post->categories as $cat) {{ $cat->name }} @endforeach
@endif {{-- Title --}}

{{ $post->title }}

@if($post->sub_title)

{{ $post->sub_title }}

@endif {{-- Meta --}}
{{ $post->user->name() }}

{{ $post->user->name() }}

{{ $post->formattedPublishedDate() }}

{{-- Mobile share --}}
{{-- Feature image --}}
{{ $post->photo_alt_text }}
{{-- Body --}}
{!! tiptap_converter()->asHTML($post->body) !!}
{{-- Related posts (in-article, after body) --}} @php $relatedInline = \App\Models\Post::find($post->id)?->relatedPosts(3) ?? collect(); @endphp @if($relatedInline->count()) @endif {{-- Tags --}} @if($post->tags->count())

Tag

@foreach($post->tags as $tag) #{{ $tag->name }} @endforeach
@endif {{-- Comments --}} @if($post->comments->count())

Komentar ({{ $post->comments->count() }})

@foreach($post->comments as $comment)
avatar
{{ $comment->user->{config('filamentblog.user.columns.name')} }} {{ $comment->created_at->diffForHumans() }}

{{ $comment->comment }}

@endforeach
@else
@endif {{-- Comment form --}}
{{-- Right sidebar: Related Posts --}}
{{-- Related posts (mobile/tablet) --}} @php $related = \App\Models\Post::find($post->id)?->relatedPosts(4) ?? collect(); @endphp @if($related->count())

Artikel Terkait

@foreach($related->take(4) as $rel) @endforeach
@endif
{!! $shareButton?->script_code !!}