@if($posts->isEmpty())

{{ __('No page available in your language at the moment') }}

@else @foreach($posts as $post)
@if($post->hasMedia('*')) @php $media = $post->getFirstMedia('*'); $mediaOwner = $media ? $media->getCustomProperty('owner', '') : ''; @endphp {{ $media->getCustomProperty('caption') }} @if (!empty($mediaOwner))
{{ $mediaOwner }}
@endif @endif @if (isset($post->translations[0]) && isset($post->translations[0]->title))

{{ $post->translations[0]->title }}

@endif
@if (isset($post->translations[0]->content) && strlen(trim(strip_tags($post->translations[0]->content))) > 0)
{!! \App\Helpers\StringHelper::sanitizeHtml($post->translations[0]->content) !!}
@endif @endforeach @endif