@extends('layouts.admin-sidebar') @section('title', $page->title) @section('page-title', 'View Page') @section('page-description', 'Viewing: ' . $page->title) @section('content')

{{ $page->title }}

{{ ucfirst($page->status) }} • Created {{ $page->created_at->format('M j, Y') }} • Last updated {{ $page->updated_at->format('M j, Y g:i A') }}

Page Content

{!! $page->content !!}

Page Information

Slug:

{{ $page->slug }}

Status:

{{ ucfirst($page->status) }}

Published:

{{ $page->published ? 'Yes' : 'No' }}

@if($page->published_at)
Published Date:

{{ $page->published_at->format('M j, Y g:i A') }}

@endif
Featured:

{{ $page->is_featured ? 'Yes' : 'No' }}

SEO Information

Meta Title:

{{ $page->meta_title ?: $page->title }}

@if($page->meta_description)
Meta Description:

{{ $page->meta_description }}

@endif @if($page->excerpt)
Excerpt:

{{ $page->excerpt }}

@endif

Author Information

@if($page->creator)
Created by:

{{ $page->creator->name }}

@endif @if($page->updater)
Last updated by:

{{ $page->updater->name }}

@endif
@endsection