diff --git a/core/themes/bartik/bartik.theme b/core/themes/bartik/bartik.theme index 7148e84..0bd0498 100644 --- a/core/themes/bartik/bartik.theme +++ b/core/themes/bartik/bartik.theme @@ -103,6 +103,17 @@ function bartik_preprocess_block(&$variables) { } /** + * Implements hook_preprocess_HOOK() for comment.html.twig. + */ +function bartik_preprocess_comment(&$variables) { + if (isset($variables['content']['links'])) { + // Add NAV wrapper element for comment links. + $variables['content']['links']['#prefix'] = ''; + } +} + +/** * Implements hook_preprocess_HOOK() for menu.html.twig. */ function bartik_preprocess_menu(&$variables) {