{{ $ArrlistingArticlespini->title }}
{{ $ArrlistingArticlespini->summary }}
@php $authorsHtml = ''; $authorIdField = $ArrlistingArticlespini->author_id ?? null; $authorNameField = $ArrlistingArticlespini->authorname ?? null; if (!empty($authorIdField)) { $authorIds = explode(',', $authorIdField); foreach ($authorIds as $index => $authorId) { $authorId = trim($authorId); $author = $authorsMap[$authorId] ?? null; if ($index > 0) { $authorsHtml .= ' & '; } if ($author && !empty($author['name'])) { $slug = \Illuminate\Support\Str::slug($author['name']); $url = url("author/{$slug}-{$authorId}.html"); $nameHtml = $author['name'] === 'NATIVE CONTENT' ? "{$author['name']}" : "{$author['name']}"; $authorsHtml .= "{$nameHtml}"; } else { $authorsHtml .= "e4m Staff"; } } } @endphp