@php
$pageTitle = $post->title.' - '.$siteName;
$pageDescription = Str::limit(strip_tags($post->excerpt_or_fallback), 150);
$pageKeywords = $post->keywords ?: ($post->tags->pluck('name')->implode(','));
@endphp
@include('partials.head')
@include('partials.header')
@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
@if(! empty($toc))
@endif
@if($cover = $post->getFirstMedia('cover'))
@endif
{{ $post->title }}
@if($post->author)
· {{ $post->author->name }}@endif
@if($post->category)
· {{ $post->category->name }}
@endif
· 阅读 {{ $post->views }}
@stack('theme:post_content_top')
{!! $contentHtml !!}
@if($post->tags->isNotEmpty())
@endif
@if(! $post->close_comment)
@endif
@include('partials.sidebar')
@include('partials.footer')
@stack('theme:body_end')
评论 ({{ $comments->total() }})
@forelse($comments as $comment)暂无评论
@endforelse {{ $comments->links('partials.pagination-links') }}