Files
laralog/resources/views/index.blade.php
T
goukiandCursor ae47447062
Build and Deploy / verify (push) Successful in 40s
Build and Deploy / deploy (push) Successful in 36s
feat: restore sablog browse modes and clean imported HTML
Keep the public site readable after import (nbsp, highlighter, wrapping code, compact pager) and finish the admin extras already in this tree: sticky levels, preview, page cache, and live llms.txt.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 21:33:02 +00:00

30 lines
831 B
PHP

@include('partials.head')
<body>
@include('partials.header')
<div class="container main-layout">
<main class="content">
<h1 class="sr-only">{{ $siteName }}</h1>
@if(session('success'))
<div class="alert alert-success">{{ session('success') }}</div>
@endif
@if(session('error'))
<div class="alert alert-error">{{ session('error') }}</div>
@endif
@include('partials.view-mode-switcher')
@forelse($posts as $post)
@include('partials.post-card', ['post' => $post])
@empty
<div class="empty">暂无文章</div>
@endforelse
@include('partials.pagination', ['paginator' => $posts])
</main>
@include('partials.sidebar')
</div>
@include('partials.footer')
@stack('theme:body_end')
</body>
</html>