fix: restyle pager chips and restore theme ad slots
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:
@@ -2,6 +2,9 @@
|
||||
|
||||
## 2026-09-18
|
||||
|
||||
- Pager chip is now `6 / 316` in the old SaBlog bar style, not a loose “第 x / y 页” label.
|
||||
- Theme inject stacks cover list/content/footer; stylevars and leftover HTML ads render. Saving inject flushes page cache. `sablog:import` copies `stylevars`.
|
||||
- Schema snapshot: `docs/database/mysql-schema-20260918-214145.sql`.
|
||||
- Homepage / lists have SaBlog-style **标准 | 列表** browse modes (`home_view_mode`, `?view=`, cookie).
|
||||
- Pagination is compact (`第 x / y 页` + fewer page chips) and the content column uses CSS grid so it no longer sits under the sidebar.
|
||||
- Imported SaBlog HTML no longer shows literal ` `; highlighter / stacked docker `<div>` blocks become wrapped `<pre><code>`.
|
||||
|
||||
Reference in New Issue
Block a user