@extends('layouts.admin') @section('title', 'Kelola SEO Halaman') @section('content')

Kelola SEO Halaman

Kelola pengaturan SEO untuk setiap halaman website

Total SEO

{{ $pageSeos->count() }}

Aktif

{{ $pageSeos->where('is_active', true)->count() }}

Halaman

{{ $pageSeos->groupBy('page_identifier')->count() }}

@if(session('success'))

{{ session('success') }}

@endif
@forelse($pageSeos as $seo) @empty @endforelse
Halaman & Judul Meta Description Keywords Status Dibuat Aksi
{{ ucfirst($seo->page_identifier) }}
{{ Str::limit($seo->title, 40) ?: 'Tidak ada judul' }}
{{ Str::limit($seo->description, 60) ?: 'Tidak ada deskripsi' }}
@if($seo->keywords)
@foreach(array_slice(explode(',', $seo->keywords), 0, 2) as $keyword) {{ trim($keyword) }} @endforeach @if(count(explode(',', $seo->keywords)) > 2) +{{ count(explode(',', $seo->keywords)) - 2 }} lagi @endif
@else Tidak ada keywords @endif
@if($seo->is_active) Aktif @else Nonaktif @endif {{ $seo->created_at->format('d M Y') }}

Tidak ada pengaturan SEO

Mulai dengan menambahkan pengaturan SEO untuk halaman website Anda.

Tambah SEO Pertama
@push('scripts') @endpush @endsection