@auth {{ __('Submit news articles') }} @endauth
@foreach($libraryItems as $libraryItem)

{{ $libraryItem->tags->pluck('name')->join(', ') }}

{{ $libraryItem->name }}

{{ strip_tags($libraryItem->excerpt) }}

{{ $libraryItem->lecturer->name }} {{ $libraryItem->lecturer->name }}

{{ $libraryItem->lecturer->name }}

@if($libraryItem->read_time) {{ $libraryItem->read_time }} {{ __('min read') }} @endif
@if($libraryItem->created_by == auth()->id() || auth()->user()->hasRole('news-editor')) {{ __('Edit') }} @endif
@endforeach
{{-- FOOTER --}}