@extends('backend.template.layouts.template-base') @section('title', 'SEO Management') @section('content') @can('create', \App\Models\PageSeo::class) Add Page @endcan
@if ($pages->isEmpty()) @can('create', \App\Models\PageSeo::class) Add Page @endcan @else
@foreach ($pages as $page) @endforeach
Page SEO Title Meta Description Robots Updated Actions
{{ $page->page_name }}
{{ $page->page_key }}
{{ $page->seo_title ?: '—' }} {{ $page->meta_description ?: '—' }} {{ str_replace('-', ', ', $page->robots) }} {{ $page->updated_at?->diffForHumans() }}
@can('update', \App\Models\PageSeo::class) @endcan @can('delete', \App\Models\PageSeo::class) @endcan
{{ $pages->links() }}
@endif
@endsection