feat: 后台侧边栏紧凑化(13rem + 自定义 CSS)+ 博客设置改 Tab 六分区(站点/外观/订阅SEO/评论/附件/维护),补回时间格式/评论排序/缩略图/水印等 sablog 设置项并接入实际使用
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user