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

@php($albumUrl = $album->thumbnailUrl('preview')) @if (strlen($albumUrl) > 0) @endif

{{ $album->description }}

@endforeach @else

@lang('gallery.index_no_results_heading')

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

@endif
{{ $albums->links() }}
@endsection