@extends('layouts.website') @section('content')

{{ $album->title }}

@if ($album->description)

{{ $album->description }}

@endif @if ($album->images->isEmpty())

No photos in this album yet.

@else
@foreach ($album->images->sortBy('sort_order') as $image) {{ $image->alt_text ?: ($image->caption ?: $album->title) }} @if ($image->caption) {{ $image->caption }} @endif @endforeach
@endif
@endsection