@extends('themes.base.layout') @section('title', 'Welcome') @section('content')
@if (count($albums) > 0)
@foreach ($albums as $album)

{{ $album->name }}

{{ $album->description }}

@can('edit', $album) @lang('gallery.manage_album_link') @endcan
@endforeach
{{ $albums->links() }}
@else

@lang('gallery.index_no_results_heading')

@lang('gallery.index_no_results_text', ['admin_link' => sprintf('%s', route('admin'), trans('admin.title'))])

@endif
@endsection