@extends('themes.base.layout') @section('title', $album->name) @php ($hasChildren = $album->children()->count() > 0) @section('content')
@include(\App\Facade\Theme::viewName('partials.album_view_selector'))

{{ $album->name }}

{{ $album->description }}


@foreach ($photos as $photo)
@endforeach
{{ $photos->links() }}
@if ($hasChildren)

@lang('gallery.other_albums_heading', ['album_name' => $album->name])

@lang('gallery.other_albums_description')

@foreach ($album->children as $childAlbum)
@endforeach
@endif
@endsection