Merge branch '177-open-graph' into 'master'

Enable OpenGraph module and configure sensible defaults for OpenGraph metatag

Closes #177

See merge request agaric/sites/agaric-com!52
This commit is contained in:
mlncn 2019-02-01 18:46:24 +00:00
commit a441a260ae
8 changed files with 71 additions and 4 deletions

View file

@ -0,0 +1,11 @@
uuid: 45874301-cb0c-498e-930f-360175ab0413
langcode: en
status: true
dependencies:
module:
- metatag_facebook
id: config_sync.module.metatag_facebook
snapshotSet: config_sync
extensionType: module
extensionName: metatag_facebook
items: { }

View file

@ -0,0 +1,11 @@
uuid: c5e34b17-d6b7-4e40-93c2-4659bc776095
langcode: en
status: true
dependencies:
module:
- metatag_open_graph
id: config_sync.module.metatag_open_graph
snapshotSet: config_sync
extensionType: module
extensionName: metatag_open_graph
items: { }

View file

@ -0,0 +1,11 @@
uuid: c4469afe-36e6-496c-93f2-e6972d51de13
langcode: en
status: true
dependencies:
module:
- metatag_twitter_cards
id: config_sync.module.metatag_twitter_cards
snapshotSet: config_sync
extensionType: module
extensionName: metatag_twitter_cards
items: { }

View file

@ -96,6 +96,9 @@ module:
menu_trail_by_path: 0
menu_ui: 0
metatag: 0
metatag_facebook: 0
metatag_open_graph: 0
metatag_twitter_cards: 0
migrate: 0
migrate_drupal: 0
migrate_plus: 0

View file

@ -7,5 +7,20 @@ _core:
id: front
label: 'Front page'
tags:
canonical_url: '[site:url]'
shortlink: '[site:url]'
canonical_url: '[site:url]'
image_src: 'https://agaric.coop/themes/custom/agarica/patternlibrary/agaric/images/agaric-975x400-v1.png'
og_locality: Boston
og_image: 'https://agaric.coop/themes/custom/agarica/patternlibrary/agaric/images/agaric-975x400-v1.png'
og_region: Massachusetts
og_image_alt: Agaric.
og_postal_code: '02134'
og_description: 'A tech cooperative building websites and online tools that respect your freedom.'
og_email: ask@agaric.coop
og_phone_number: '(508) 283-3557'
twitter_cards_image: 'https://agaric.coop/themes/custom/agarica/patternlibrary/agaric/images/agaric-square.png'
twitter_cards_site: '@agaric'
twitter_cards_description: 'A tech cooperative building websites and online tools that respect your freedom.'
twitter_cards_image_alt: 'Two stylized mushrooms.'
twitter_cards_type: summary
twitter_cards_title: Agaric

View file

@ -7,5 +7,7 @@ _core:
id: global
label: Global
tags:
canonical_url: '[current-page:url]'
title: '[current-page:title] | [site:name]'
canonical_url: '[current-page:url]'
og_site_name: Agaric
og_title: '[current-page:title] | [site:name]'

View file

@ -8,5 +8,14 @@ id: node
label: Content
tags:
title: '[node:title] | [site:name]'
description: '[node:summary]'
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_site_name: Agaric
og_title: '[node:title] | [site:name]'
twitter_cards_image: '[node:field_image]'
twitter_cards_image_alt: '[node:field_image:alt]'
twitter_cards_type: summary

View file

@ -7,6 +7,11 @@ _core:
id: taxonomy_term
label: 'Taxonomy term'
tags:
title: '[term:name] | [site:name]'
canonical_url: '[term:url]'
description: '[term:description]'
title: '[term:name] | [site:name]'
og_description: '[term:description]'
og_title: '[term:name] | [site:name]'
twitter_cards_description: '[term:description]'
twitter_cards_type: summary
twitter_cards_title: '[term:name] | [site:name]'