{{-- resources/views/blog/category.blade.php --}} @extends('blog.layouts.app') @section('title', $user['nickName'] . ' · ' . collect($current)->pluck('label')->implode(' / ')) @section('content')

Categories

{{ $count }} 篇

@foreach($current as $category) / {{ $category['label'] }} @endforeach

{{-- 子分类标签 --}} @if(!empty($tagOptions))
@foreach($tagOptions as $id => $tag) @if($tag['count'] < $count) {{ $tag['tag']->name }} ({{ $tag['count'] }}) @endif @endforeach
@endif
@forelse($posts as $post)

{{ $post->title }}

@if(!empty($post->cover))
{{ $post->title }}
@endif
@empty

此分类下暂无文章

@endforelse
@endsection