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
@@ -241,7 +241,7 @@ final class SiteController
return View::render('missing', [
'site' => (new Repository())->site(), 'title' => '页面未找到', 'description' => '',
'path' => null, 'noindex' => true,
'path' => null, 'noindex' => true, 'atHomepage' => $path === '/',
], 404);
}