@if($url = $post->coverOrFirstImageUrl())
@else
{{ \Illuminate\Support\Str::limit($post->title, 24, '') }}
@endif
@if($label = $post->stickyLabel()){{ $label }}@endif
{{ $post->title }}
{{ \Illuminate\Support\Str::limit($post->excerpt_or_fallback, 80) }}
@elseif($viewMode === \App\Blog\Support\HomeViewMode::LIST)
@if($url = $post->coverImageUrl())
@endif
@if($label = $post->stickyLabel()){{ $label }}@endif
{{ $post->title }}
@if($post->category)
·
{{ $post->category->name }}
@endif
· 阅读 {{ $post->views }}
· 评论 {{ $post->comment_count }}
@if($showFull)
{!! app(\App\Blog\Services\PostContentRenderer::class)->render($post) !!}
@else
{{ \Illuminate\Support\Str::limit($post->excerpt_or_fallback, 200) }}
@endif
@endif