fix: restyle pager chips and restore theme ad slots
Build and Deploy / verify (push) Successful in 37s
Build and Deploy / deploy (push) Successful in 38s

Replace the loose page-count label with a SaBlog-style 6 / 316 chip, wire inject/stylevar HTML into list and post views, and flush page cache when ads are saved.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
gouki
2026-09-18 21:48:24 +00:00
co-authored by Cursor
parent ae47447062
commit 36c4ffc5b4
41 changed files with 936 additions and 81 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
@stack('theme:footer')
@include('partials.theme-inject', ['point' => 'footer'])
<footer class="site-footer">
<div class="container">
<p>
+1 -1
View File
@@ -29,4 +29,4 @@
</nav>
</div>
</header>
@stack('theme:header')
@include('partials.theme-inject', ['point' => 'header'])
@@ -1,6 +1,6 @@
@if ($paginator->hasPages())
<nav class="pagination-links" role="navigation" aria-label="分页">
<span class="pagination-info">第 {{ $paginator->currentPage() }} / {{ $paginator->lastPage() }} 页</span>
<span class="pagination-info">{{ $paginator->currentPage() }} / {{ $paginator->lastPage() }}</span>
@if ($paginator->onFirstPage())
<span class="disabled">&laquo;</span>
+3 -3
View File
@@ -1,5 +1,5 @@
<aside class="sidebar">
@stack('theme:sidebar_top')
@include('partials.theme-inject', ['point' => 'sidebar_top'])
<section class="widget">
<h3 class="widget-title">分类</h3>
<ul class="widget-list">
@@ -84,5 +84,5 @@
<li>标签:{{ $blogStats['tags'] }} 个</li>
</ul>
</section>
@stack('theme:sidebar_bottom')

@include('partials.theme-inject', ['point' => 'sidebar_bottom'])
</aside>
@@ -0,0 +1,6 @@
@php
$injected = trim($__env->yieldPushContent('theme:'.$point));
@endphp
@if($injected !== '')
<div class="theme-inject theme-inject-{{ $point }}">{!! $injected !!}</div>
@endif