diff --git a/src/Service/UwNodeContent.php b/src/Service/UwNodeContent.php index 4186470e94db63b260e04827969c78b25ca2c414..96185321dcbbb0b0655f48dbc10045b3e3ebfa58 100644 --- a/src/Service/UwNodeContent.php +++ b/src/Service/UwNodeContent.php @@ -643,7 +643,7 @@ class UwNodeContent { $content_data = $this->setupContentData($node_flags); // Setup the header content. - if ($node_flags['get_header']) { + if ($node_flags['get_header'] && $view_mode !== 'teaser') { $content_data['header']['opportunity_type'] = $this->addToContentData('terms', ['field_uw_opportunity_type']); $content_data['header']['employment_type'] = $this->addToContentData('terms', ['field_uw_opportunity_employment']);