@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

Nothing to see here!

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