From 0d430a624c663decb35cf04ddea18f4f337d2b4d Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Mon, 18 Feb 2019 15:19:00 -0700 Subject: [PATCH] Shorten page title, remove broken summary token, update image url token, fill in more Twitter defaults --- config/sync/metatag.metatag_defaults.global.yml | 9 +++++++-- config/sync/metatag.metatag_defaults.node.yml | 14 ++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/config/sync/metatag.metatag_defaults.global.yml b/config/sync/metatag.metatag_defaults.global.yml index 7cda3d2..02f6935 100644 --- a/config/sync/metatag.metatag_defaults.global.yml +++ b/config/sync/metatag.metatag_defaults.global.yml @@ -7,7 +7,12 @@ _core: id: global label: Global tags: - title: '[current-page:title] | [site:name]' + title: '[current-page:title]' canonical_url: '[current-page:url]' og_site_name: Agaric - og_title: '[current-page:title] | [site:name]' + og_title: '[current-page:title]' + twitter_cards_site_id: '14375823' + twitter_cards_page_url: '[current-page:url]' + twitter_cards_site: '@agaric' + twitter_cards_title: '[current-page:title]' + twitter_cards_type: summary diff --git a/config/sync/metatag.metatag_defaults.node.yml b/config/sync/metatag.metatag_defaults.node.yml index 797e21d..1a77504 100644 --- a/config/sync/metatag.metatag_defaults.node.yml +++ b/config/sync/metatag.metatag_defaults.node.yml @@ -7,15 +7,13 @@ _core: id: node label: Content tags: - title: '[node:title] | [site:name]' + image_src: '[node:field_image:entity:url]' + title: '[node:title]' canonical_url: '[node:url]' - description: '[node:summary]' - image_src: '[node:field_image]' - og_image: '[node:field_image]' - og_image_alt: '[node:field_image:alt]' - og_description: '[node:summary]' + og_image: '[node:field_image:entity:url]' og_site_name: Agaric - og_title: '[node:title] | [site:name]' - twitter_cards_image: '[node:field_image]' + og_title: '[node:title]' + og_image_alt: '[node:field_image:alt]' twitter_cards_image_alt: '[node:field_image:alt]' + twitter_cards_image: '[node:field_image:entity:url]' twitter_cards_type: summary