feat: 后台侧边栏紧凑化(13rem + 自定义 CSS)+ 博客设置改 Tab 六分区(站点/外观/订阅SEO/评论/附件/维护),补回时间格式/评论排序/缩略图/水印等 sablog 设置项并接入实际使用

This commit is contained in:
ak
2026-08-11 21:30:56 +08:00
parent 6c7562115f
commit b9f02df49f
20 changed files with 116 additions and 50 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class PostController extends Controller
$comments = $post->comments()
->where('status', 'published')
->latest('created_at')
->orderBy('created_at', (int) blog_setting('comment_order', 1) === 1 ? 'asc' : 'desc')
->paginate(20);
$contentHtml = $this->renderer->render($post);