M2: 主题系统(sablog经典+modern简约)+ 前台全部页面 + 老 URL 301 兼容 + markdown 双份导入
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@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')
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user