@extends('root') @section('title', isset($post) ? 'Edit Post' : 'New Post') @push('styles') @endpush @section('content')
@include('components.breadcrumb', [ 'title' => isset($post) ? 'Edit Post' : 'New Post', 'links' => [ ['url' => route('admin.dashboard'), 'label' => 'Dashboard'], ['url' => route('admin.blog.posts.index'), 'label' => 'Blog Posts'], ], 'current' => isset($post) ? 'Edit Post' : 'New Post' ])
@csrf @if(isset($post)) @method('PUT') @endif
{{-- Main Content --}}
{{-- AI Content Generator --}} @if(isset($aiConfig) && $aiConfig['is_configured'])
AI Content Generator
Generate SEO-optimized content with AI
Topik utama atau keyword yang ingin dibahas
AI akan mengisi form berdasarkan topik yang diberikan. Anda tetap bisa mengedit semua hasil.
@endif
Content
/blog/category/
Kosongkan untuk auto-generate dari title
0/500
{{-- SEO Settings --}}
SEO Settings
{{-- SEO Preview --}}
{{ $post->title ?? 'Title Preview' }}
{{ url('/blog/category/slug') }}
{{ $post->meta_description ?? 'Meta description akan muncul di sini...' }}
0/70
0/160
{{-- Sidebar --}}
{{-- Publish Settings --}}
Publish
@if(isset($post) && $post->is_visible) View Post @endif
{{-- Category --}}
Category
{{-- Tags --}}
Tags
@if(isset($post)) @foreach($post->tags as $tag) {{ $tag->name }} × @endforeach @endif
Tekan Enter atau koma untuk menambah tag
{{-- Featured Image --}}
Featured Image
@if(isset($post) && $post->featured_image_url) @endif
{{-- Schema Type --}}
Schema Type
Schema JSON-LD untuk rich snippets
{{-- Landing Page Option --}}
Landing Page
is_landing_page ?? false) ? 'checked' : '' }}>
Post ini bisa diakses via /p/{{ $post->slug ?? 'slug' }}
@endsection @push('scripts') @endpush