@extends('layouts.app') @section('title', $siteName) @section('meta_description', 'Read today\'s edition of ' . $siteName . ' online. Digital e-paper.') @section('sidebar') @if($latest && $latest->pages->count()) @foreach($latest->pages as $page) Page {{ $page->page_number }}
Page {{ $page->page_number }}{{ $page->title ? ' — '.$page->title : '' }}
@endforeach @endif @endsection @section('content') {{-- Today's cover story --}} @if($latest)

Today's Edition

{{ $latest->publish_date->format('l, F j, Y') }} @if($latest->edition_name) — {{ $latest->edition_name }}@endif
Read Full Paper
@if($latest->pages->count()) {{-- Cover page preview --}}
Front Page
{{ $latest->publish_date->format('d M Y') }}
Front Page

{{ $latest->edition_name ?? $siteName }}

@if($latest->description)

{{ $latest->description }}

@endif
@foreach($latest->pages->skip(1)->take(4) as $page) @endforeach
View All {{ $latest->pages->count() }} Pages
@endif @else

No editions published yet

Check back soon or browse the archive.

@endif {{-- Recent editions --}} @if($recentEditions->count() > 1)

Recent Editions

@foreach($recentEditions->skip(1) as $edition) @endforeach
@endif @endsection