Allow deleting and recreating the homepage

This commit is contained in:
2026-11-28 02:06:27 +08:00
parent 268a278ec1
commit a0df3e60de
11 changed files with 31 additions and 27 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use RuntimeException;
final class PageDraft
{
public const RESERVED = ['.', '.laysite', 'admin', 'assets', 'home', 'account', 'mcp', 'palette'];
public const RESERVED = ['.', '.laysite', 'admin', 'assets', 'account', 'mcp', 'palette'];
public static function slug(mixed $value, array $reserved = self::RESERVED, bool $includeSpecial = false): string
{