@php $pageTitle = '标签 - '.$siteName; @endphp
@include('partials.head')
<body>
@include('partials.header')
<div class="container main-layout">
    <main class="content">
        <h1 class="list-title">全部标签</h1>
        <div class="tag-cloud big">
            @forelse($tags as $tag)
                <a href="{{ route('tags.show', $tag->slug ?: $tag->name) }}" class="tag-link" style="font-size: {{ max(0.9, min(1.8, 0.9 + $tag->posts_count * 0.1)) }}em">
                    {{ $tag->name }} ({{ $tag->posts_count }})
                </a>
            @empty
                <div class="empty">暂无标签</div>
            @endforelse
        </div>
    </main>
    @include('partials.sidebar')
</div>
@include('partials.footer')
@stack('theme:body_end')
</body>
</html>
