$page['layout_kind'] === null && in_array($page['page_type'], ['page', 'home'], true));
$live = count(array_filter($regular, static fn (array $page): bool => $page['status'] === 'published'));
?>
网站后台
页面已删除。
= $live ?> 个已发布 · = count($regular) - $live ?> 个草稿 · = count($pages) - count($regular) ?> 个特殊页面
>= $pages ? '没有匹配的页面。' : '暂无页面。' ?>