{{ $apiDocument->data->attributes->title }}

@foreach ($posts as $post)
@php $user = ! empty($post->relationships->user->data) ? $getResource($post->relationships->user->data) : null; @endphp

{{ $user ? $user->attributes->displayName : $translator->trans('core.lib.username.deleted_text') }}

{!! $post->attributes->contentHtml !!}

@endforeach
@if ($hasPrevPage) « {{ $translator->trans('core.views.discussion.previous_page_button') }} @endif @if ($hasNextPage) {{ $translator->trans('core.views.discussion.next_page_button') }} » @endif