@extends('admin.partial.template-full') @section('section')

Pages

Manage public and custom page content

@if($pages->count() < 5)

@if(!$pages->contains('slug', '=', '/site/about'))
@csrf
@endif @if(!$pages->contains('slug', '=', '/site/privacy'))
@csrf
@endif @if(!$pages->contains('slug', '=', '/site/terms'))
@csrf
@endif @if(!$pages->contains('slug', '=', '/site/kb/community-guidelines'))
@csrf
@endif @if(!$pages->contains('slug', '=', '/site/legal-notice'))
@csrf
@endif
@endif
@if($pages->count())
@foreach($pages as $page) @if($page->active) @else @endif @endforeach
ID Slug State Updated
{{$page->id}} {{$page->slug}}LiveDraft{{$page->updated_at->diffForHumans(null, true, true, true)}}
{{$pages->links()}}
@else

No custom pages found

@endif @endsection