@if($links->isNotEmpty())
@if((int)usersettings('link_display_mode') === Link::DISPLAY_CARDS)
@include('models.links.partials.list-cards')
@elseif((int)usersettings('link_display_mode') === Link::DISPLAY_CARDS_DETAILED)
@include('models.links.partials.list-cards-detailed')
@elseif((int)usersettings('link_display_mode') === Link::DISPLAY_LIST_SIMPLE)
@include('models.links.partials.list-simple')
@else
@include('models.links.partials.list-detailed')
@endif
@else
@lang('linkace.no_results_found', ['model' => trans('link.links')])
@endif
@if($links->isNotEmpty())
{!! $links->onEachSide(1)->withQueryString()->links() !!}
@endif
@endsection