@if($announcements->isNotEmpty())
@if ($announcements->count() > 1) @include('plugins/announcement::partials.controls') @endif @each('plugins/announcement::partials.item', $announcements, 'announcement')
@if (setting('announcement_dismissible', false)) @include('plugins/announcement::partials.dismiss', [ 'announcementIds' => $announcements->pluck('id')->toJson(), ]) @endif
@endif