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>
This commit is contained in:
@@ -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">« 上一页</span>
|
||||
<span class="disabled">«</span>
|
||||
@else
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev">« 上一页</a>
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev">«</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">下一页 »</a>
|
||||
<a href="{{ $paginator->nextPageUrl() }}" rel="next">»</a>
|
||||
@else
|
||||
<span class="disabled">下一页 »</span>
|
||||
<span class="disabled">»</span>
|
||||
@endif
|
||||
</nav>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user