@extends('layouts.app') @section('title', $category . ' | 博客分类') @section('content')
博客分类

{{ $category }}

共找到 {{ $blogs->total() }} 篇相关博客

全部 @foreach($categories as $cat) {{ $cat }} @endforeach
@if($blogs->count() > 0)
@foreach($blogs as $item)
@if($item->cover_image) {{ $item->title }} @else 默认图片 @endif
@if($item->category) {{ $item->category }} @endif

{{ $item->title }}

{{ $item->auto_summary }}

📅 {{ $item->published_at ? $item->published_at->format('Y-m-d') : '-' }} 👁️ {{ $item->view_count }}
@endforeach
@if($blogs->hasPages()) @endif @else
📰

暂无相关博客

该分类下暂无博客内容

@endif
@endsection