@extends($site->themeView('layout')) {{-- Season of a series: episodes with their video when one was uploaded in the back-office. --}} @section('content') @php($ads = app(\App\Services\AdManager::class))
@include($site->themeView('partials.breadcrumbs'))
@if ($season['poster'])@endif

{{ $show['title'] }}

{{ $season['name'] ?: __('movies.season_n', ['n' => $season['number']]) }}

{{ $season['date'] ? substr($season['date'], 0, 4).' · ' : '' }}{{ __('movies.episodes_count', ['count' => count($season['episodes'])]) }}

@if ($season['overview'])

{{ $season['overview'] }}

@endif
@if (count($show['seasons']) > 1) @endif
    @forelse ($season['episodes'] as $e)
  1. {{ __('movies.episode_n', ['n' => $e['number']]) }}@if ($e['name']) · {{ $e['name'] }}@endif

    @if ($e['date'])@endif @if ($e['runtime']){{ $e['runtime'] }} min@endif

    @if ($e['video']) @endif
    @if ($e['overview'])

    {{ $e['overview'] }}

    @endif @if ($e['video']) {{-- The
  2. @empty
  3. {{ __('movies.no_episodes') }}
  4. @endforelse
{{ $ads->slot('after_content') }}
@endsection