@extends('theme::layout')

@section('content')
    <div class="panel"><h1 class="page-title">标签：{{ $tag->name }}</h1></div>
    <div class="post-list">
        @foreach($articles as $article)
            <article class="post-item">
                <h2><a href="{{ url('/show-'.$article->id.'.shtml') }}">{{ $article->title }}</a></h2>
            </article>
        @endforeach
    </div>
    <div class="pagination">{{ $articles->links() }}</div>
@endsection
