forked from laysense/laysite
Allow deleting and recreating the homepage
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user