From 89454025322ed25bf0584d6039a44f51ac39f96c Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan <62405127+arthurbaghdas@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:17:20 +0400 Subject: [PATCH] DP-29613: Add mg_organization and mg_parent_org metatags to promotional pages (#2194) * DP-29613: Add mg_organization and mg_parent_org metatags to promotional pages * DP-29613: Add mg_organization and mg_parent_org metatags to promotional pages --- changelogs/DP-29613.yml | 41 +++++++++++++++++++ ...etatag_defaults.node__campaign_landing.yml | 2 + 2 files changed, 43 insertions(+) create mode 100644 changelogs/DP-29613.yml diff --git a/changelogs/DP-29613.yml b/changelogs/DP-29613.yml new file mode 100644 index 0000000000..605f3dc200 --- /dev/null +++ b/changelogs/DP-29613.yml @@ -0,0 +1,41 @@ +# +# Write your changelog entry here. Every pull request must have a changelog yml file. +# +# Change types: +# ############################################################################# +# You can use one of the following types: +# - Added: For new features. +# - Changed: For changes to existing functionality. +# - Deprecated: For soon-to-be removed features. +# - Removed: For removed features. +# - Fixed: For any bug fixes. +# - Security: In case of vulnerabilities. +# +# Format +# ############################################################################# +# The format is crucial. Please follow the examples below. For reference, the requirements are: +# - All 3 parts are required and you must include "Type", "description" and "issue". +# - "Type" must be left aligned and followed by a colon. +# - "description" must be indented with 2 spaces followed by a colon +# - "issue" must be indented with 4 spaces followed by a colon. +# - "issue" is for the Jira ticket number only e.g. DP-1234 +# - No extra spaces, indents, or blank lines are allowed. +# +# Example: +# ############################################################################# +# Fixed: +# - description: Fixes scrolling on edit pages in Safari. +# issue: DP-13314 +# +# You may add more than 1 description & issue for each type using the following format: +# Changed: +# - description: Automating the release branch. +# issue: DP-10166 +# - description: Second change item that needs a description. +# issue: DP-19875 +# - description: Third change item that needs a description along with an issue. +# issue: DP-19843 +# +Added: + - description: Add mg_organization and mg_parent_org metatags to promotional pages. + issue: DP-29613 diff --git a/conf/drupal/config/metatag.metatag_defaults.node__campaign_landing.yml b/conf/drupal/config/metatag.metatag_defaults.node__campaign_landing.yml index b52ab017a4..3cef2664ab 100644 --- a/conf/drupal/config/metatag.metatag_defaults.node__campaign_landing.yml +++ b/conf/drupal/config/metatag.metatag_defaults.node__campaign_landing.yml @@ -11,4 +11,6 @@ tags: twitter_cards_image: '[node:field_header:entity:field_image:social_media]' twitter_cards_description: '[node:field_meta_description]' twitter_cards_type: summary_large_image + mass_metatag_organization: '[node:mass_organizations]' + mass_metatag_parent_organization: '[node:mass_parent_organizations]' mg_stakeholder_org: '[node:field_state_organization_tax:entity:name]'