@php $pageTitle = '友情链接 - '.$siteName; @endphp
@include('partials.head')
<body>
@include('partials.header')
<div class="container main-layout">
    <main class="content">
        <h1 class="list-title">友情链接</h1>
        <ul class="links-list">
            @forelse($links as $link)
                <li>
                    <a href="{{ $link->url }}" target="_blank" rel="noopener nofollow">{{ $link->name }}</a>
                    @if($link->note)<span class="link-note">— {{ $link->note }}</span>@endif
                </li>
            @empty
                <div class="empty">暂无链接</div>
            @endforelse
        </ul>
    </main>
    @include('partials.sidebar')
</div>
@include('partials.footer')
@stack('theme:body_end')
</body>
</html>
