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

Website content

Pages

Create reusable website pages, then build their content with the visual drag-and-drop editor. Public visibility is controlled separately by each page’s status.

View website ↗

Create a page

Start with the page identity. After creation, HMS opens the visual editor where you can add and reorder content blocks.

@csrf

Existing pages

{{ $pages->count() }} {{ $pages->count() === 1 ? 'page' : 'pages' }}

@forelse($pages as $page)

{{ $page->title }}

{{ $page->status }}

/{{ $page->slug }}

{{ $page->sections_count }} visual {{ $page->sections_count === 1 ? 'block' : 'blocks' }} Updated {{ $page->updated_at->diffForHumans() }} @if($page->noindex)Excluded from search indexing@endif
@if($page->status === 'published') Preview @endif Edit page
@empty
No editable pages yet. Create the first page above.
@endforelse
@endsection