$page['layout_kind'] === null && $page['page_type'] === 'page'); $live = count(array_filter($regular, static fn (array $page): bool => $page['status'] === 'published')); $defaultSlugs = []; foreach (['header', 'footer'] as $kind) { if (isset($site[$kind . '_id'])) { $defaultSlugs[$kind] = LayoutPage::slug($kind, $site[$kind . '_id']); } } ?>

网站后台

'add']) ?>新建页面 'edit']) ?>写文章

网站页面

个已发布 · 个草稿 · 个特殊页面

>

最近编辑的文章

$articles]) ?> 管理全部文章

站点编辑