@extends('layouts.app') @section('content')

Published Articles

Browse all published research articles.

@forelse($articles as $a) @php $thumb = $a->thumbnail; $thumbUrl = $thumb ? (\Illuminate\Support\Str::startsWith($thumb, ['http://', 'https://']) ? $thumb : asset('storage/'.$thumb)) : null; @endphp
@if($thumbUrl) Article thumbnail @endif
{{ $a->title }}

{{ $a->author->display_name ?? 'NEROSA Editorial' }} | {{ $a->category->name ?? 'General' }} @if($a->issue) | {{ optional($a->issue->volume)->title }} - {{ $a->issue->title }} @endif | {{ optional($a->published_on ?? $a->created_at)->format('M d, Y') }}

@if($a->synopsis)

{{ \Illuminate\Support\Str::limit(strip_tags($a->synopsis), 220) }}

@endif
@empty
No published articles found.
@endforelse
{{ $articles->links() }}
@endsection