@php $pageTitle = '标签：'.$tag->name.' - '.$siteName; @endphp
@include('partials.head')
<body>
@include('partials.header')
<div id="page">
<div id="content">
    <h1 class="list-title">标签：{{ $tag->name }}</h1>

    @forelse($posts as $post)
        @include('partials.post-card', ['post' => $post])
    @empty
        <div class="empty">该标签暂无文章</div>
    @endforelse

    @include('partials.pagination', ['paginator' => $posts])
</div>
@include('partials.sidebar')
</div>{{-- #page --}}
@include('partials.footer')
@stack('theme:body_end')
</body>
</html>
