@extends('theme::layout')

@section('content')
    <div class="panel">
        <h1 class="page-title">友情链接</h1>
        <ul>
            @forelse($links as $link)
                <li><a href="{{ $link->url }}" rel="noopener" target="_blank">{{ $link->name }}</a>@if($link->note) — {{ $link->note }}@endif</li>
            @empty
                <li class="meta">暂无链接</li>
            @endforelse
        </ul>
    </div>
@endsection
