Files
laralog/config/blog.php
T
goukiandCursor ae47447062
Build and Deploy / verify (push) Successful in 40s
Build and Deploy / deploy (push) Successful in 36s
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>
2026-09-18 21:33:02 +00:00

62 lines
1.6 KiB
PHP

<?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| 站点名称(会被 Setting 表覆盖)
|--------------------------------------------------------------------------
*/
'name' => env('BLOG_NAME', 'LaraLog'),
'description' => env('BLOG_DESCRIPTION', 'A modern blog built with Laravel 12 + Filament 5.'),
'icp' => env('BLOG_ICP', ''),
/*
|--------------------------------------------------------------------------
| 每页文章数等默认值(会被 Setting 表覆盖)
|--------------------------------------------------------------------------
*/
'per_page' => 10,
'home_view_mode' => 'list',
'rss_num' => 20,
'comment_min_len' => 2,
'comment_max_len' => 6000,
'comment_post_space' => 20,
/*
|--------------------------------------------------------------------------
| 附件
|--------------------------------------------------------------------------
*/
'attachments_disk' => env('UPLOAD_DISK', 'uploads'),
/*
|--------------------------------------------------------------------------
| 新文章默认状态
|--------------------------------------------------------------------------
*/
'default_post_status' => 'published',
/*
|--------------------------------------------------------------------------
| 前台页面缓存(秒)
|--------------------------------------------------------------------------
*/
'page_cache_ttl' => env('PAGE_CACHE_TTL', 300),
];