feat: restore sablog browse modes and clean imported HTML
Build and Deploy / verify (push) Successful in 40s
Build and Deploy / deploy (push) Successful in 36s

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>
This commit is contained in:
gouki
2026-09-18 21:33:02 +00:00
co-authored by Cursor
parent 469160dc3f
commit ae47447062
98 changed files with 8618 additions and 901 deletions
@@ -1,13 +1,13 @@
@if ($paginator->hasPages())
<nav class="pagination-links" role="navigation">
{{-- Previous --}}
<nav class="pagination-links" role="navigation" aria-label="分页">
<span class="pagination-info">第 {{ $paginator->currentPage() }} / {{ $paginator->lastPage() }} 页</span>
@if ($paginator->onFirstPage())
<span class="disabled">&laquo; 上一页</span>
<span class="disabled">&laquo;</span>
@else
<a href="{{ $paginator->previousPageUrl() }}" rel="prev">&laquo; 上一页</a>
<a href="{{ $paginator->previousPageUrl() }}" rel="prev">&laquo;</a>
@endif
{{-- Numbers --}}
@foreach ($elements as $element)
@if (is_string($element))
<span class="disabled">{{ $element }}</span>
@@ -23,11 +23,10 @@
@endif
@endforeach
{{-- Next --}}
@if ($paginator->hasMorePages())
<a href="{{ $paginator->nextPageUrl() }}" rel="next">下一页 &raquo;</a>
<a href="{{ $paginator->nextPageUrl() }}" rel="next">&raquo;</a>
@else
<span class="disabled">下一页 &raquo;</span>
<span class="disabled">&raquo;</span>
@endif
</nav>
@endif