@extends('admin.layout', ['navType' => $page->type])
@section('title', 'Edit: '.$page->title)
@section('content')
@php
use App\Support\Tokens;
$isContent = in_array($page->type, ['page', 'post'], true);
$tab = request('tab', 'content');
$robots = (string) $page->robots;
$site = \App\Models\Setting::get('site_name', 'Anan International School');
@endphp
{{ $page->title }} @if($isContent)status])>{{ ucfirst($page->status) }}@endif
@if ($page->draft)
This {{ $page->type === 'layout' ? 'part' : $page->type }} has changes in the
visual editor that are not published yet.
Publishing them (Update) will replace content edits made here in the meantime — edit in one place at a time.
@endif
@if ($isContent && $page->path !== '')
@endif
@endsection