Řešil jsem problém s použitím LB v page.html.twig
Kolega Petr Okurek mě navedl k tomuto řešení, které funguje pěkně:
function csgov_theme_preprocess_page(&$variables) { if (isset($variables['node'])) { if($variables['node']->hasField('layout_builder__layout')) { $variables['has_page_layout'] = !empty($variables['node']->get('layout_builder__layout')->getSections()); } } }