@extends('admin.layouts.app') @section('title', 'Pages') @section('page_title', 'Pages') @section('content')

Content · Static pages

Pages

Create, edit, and remove static pages. Published pages are available at their public URL.

@can('create', \Apex\Modules\Pages\Models\Page::class) + New page @endcan
@if(($filters['q'] ?? '') !== '' || ($filters['status'] ?? '') !== '') Clear @endif
@forelse ($pages as $page) @php $isHome = $page->slug === 'home'; @endphp @empty @endforelse
Page Template Status Updated Actions
{{ strtoupper(substr($page->title, 0, 1)) }}

{{ $page->title }}

{{ $isHome ? '/ · Home page' : '/'.$page->slug }}

{{ ucfirst($page->template ?: 'default') }} {{ ucfirst($page->status) }} {{ $page->updated_at?->format('M j, Y') ?? '—' }}
@if($page->status === 'published') View @endif @can('update', $page) Edit @endcan @if(! $isHome) @can('delete', $page)
@csrf @method('DELETE')
@endcan @endif
No pages yet. Create the first static page.
{{ $pages->links() }}
@endsection