Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
INREL-6662: add "deal" to noindex for google news metatag
Browse files Browse the repository at this point in the history
  • Loading branch information
killes committed Oct 29, 2019
1 parent 41f52f8 commit 29fa714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Metatags.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function injectGooglebotNews(Node $node) {
$node->hasField('field_meta_tags') &&
$node->hasField('field_sponsor_type') &&
$node->get('field_sponsor_type')->first() &&
in_array($node->get('field_sponsor_type')->first()->value, ['native', 'advertorial'])
in_array($node->get('field_sponsor_type')->first()->value, ['native', 'advertorial', 'deal'])
) {
$this->setGooglebotNewsMetatagValue($node, $metaTagsValue);
$clearValue = false;
Expand Down

0 comments on commit 29fa714

Please sign in to comment.