官網文章管理

+ 建立文章
@if (session('status'))

{{ session('status') }}

@endif @if (session('error'))

{{ session('error') }}

@endif
總計
{{ $stats['total'] }}
草稿
{{ $stats['draft'] }}
已發布
{{ $stats['published'] }}
已歸檔
{{ $stats['archived'] }}
置頂中
{{ $stats['pinned'] }}
清除

共 {{ $articles->total() }} 篇文章

@forelse($articles as $article) @empty @endforelse
文章 類型 狀態 建立者 瀏覽 建立時間 操作
@if($article->is_pinned) 📌 @endif
{{ Str::limit(strip_tags($article->content), 60) }}
{{ $article->getContentTypeLabel() }} {{ $article->getStatusLabel() }} {{ $article->creator->name ?? 'N/A' }} {{ $article->view_count }} {{ $article->created_at->format('Y-m-d H:i') }} 查看 @if($article->canBeEditedBy(auth()->user())) 編輯 @endif
沒有找到文章。建立第一篇文章
@if($articles->hasPages())
{{ $articles->links() }}
@endif