@extends('theme::layout')

@section('content')
    <div class="panel">
        <h1 class="page-title">标签</h1>
        <p class="tag-cloud">
            @foreach($tags as $tag)
                <a class="chip" href="{{ url('/tag/'.rawurlencode($tag->name)) }}">{{ $tag->name }} ({{ $tag->use_count }})</a>
            @endforeach
        </p>
    </div>
    <div class="pagination">{{ $tags->links() }}</div>
@endsection
