@php $actor_url = ""; if ($actor->user_id) $actor_url = route ('users.show', [ 'user_name' => $actor->user->name ]); else $actor_url = route ('users.show', [ 'user_name' => $actor->local_actor_id ]); @endphp

{{ $actor->name }}

@if ($actor->user) @else @endif

{{ $post->summary }}

{!! $post->content !!}

@foreach ($post->attachments as $attachment) {{ $attachment->name }} @endforeach



Likes: {{ $post->get_likes ()->count () }}

{{-- @if ($actor->user && auth ()->check () && auth ()->user ()->is ($actor->user))
@csrf
@endif --}}