Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/digital 118 configure metatags temp #51

Closed
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"drupal/maillog": "dev-1.x",
"drupal/mailsystem": "^4.4",
"drupal/memcache": "^2.5",
"drupal/metatag": "^2.1",
"drupal/multivalue_form_element": "@beta",
"drupal/override_node_options": "^2.8",
"drupal/paragraphs": "^1.18",
Expand Down
75 changes: 73 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ module:
memcache: 0
menu_link_content: 0
menu_ui: 0
metatag: 0
metatag_facebook: 0
metatag_open_graph: 0
metatag_twitter_cards: 0
multivalue_form_element: 0
mysql: 0
node: 0
Expand Down
12 changes: 12 additions & 0 deletions config/sync/metatag.metatag_defaults.403.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uuid: ff8f53cb-fd7b-4600-86d5-e9a0dc4102de
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: RDCkFL0NDt75Gwioooxo1iuA1S50xTVsBOgX__c6wTw
id: '403'
label: '403 access denied'
tags:
robots: noindex
canonical_url: '[site:url]'
shortlink: '[site:url]'
11 changes: 11 additions & 0 deletions config/sync/metatag.metatag_defaults.404.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: a868dea6-7b59-46bd-93fe-dc89b840d77e
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: puBstSLDz8mbaWU357zaqQDBGMGsJzG0j-TQNQkjg20
id: '404'
label: '404 page not found'
tags:
canonical_url: '[site:url]'
shortlink: '[site:url]'
11 changes: 11 additions & 0 deletions config/sync/metatag.metatag_defaults.front.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
uuid: a7e3cc59-ff1b-4abd-b1be-e7454d39ff66
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 1noCXlegCr5HFehQRF1ViXy1jhU1jZ_sNN99a8Sj5jo
id: front
label: 'Front page'
tags:
canonical_url: '[site:url]'
shortlink: '[site:url]'
26 changes: 26 additions & 0 deletions config/sync/metatag.metatag_defaults.global.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
uuid: 88320e5b-f571-4be6-a888-764231253eb8
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: sL588ui1E_8-2c_UupwyYxcqX2OVyMFp3HTLbbFqvPc
id: global
label: Global
tags:
article_publisher: 'https://www.facebook.com/digital.gov'
canonical_url: '[current-page:url]'
description: '[node:field_summary]'
fb_admins: '100000569454928'
og_image_alt: ' '
og_locale: '[language:langcode]_'
og_site_name: '[site:name]'
og_title: '[current-page:title]'
og_type: website
og_url: '[current-page:url]'
robots: 'index, follow'
title: '[current-page:title] | [site:name]'
twitter_cards_creator: '@Digital_gov'
twitter_cards_description: '@Digital_gov'
twitter_cards_site: '@Digital_gov'
twitter_cards_title: '[current-page:title]'
twitter_cards_type: summary_large_image
15 changes: 15 additions & 0 deletions config/sync/metatag.metatag_defaults.node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
uuid: a598cf70-27a5-4c62-bf6e-5707178fe83c
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: rpwvgyEURXLz_JjgMCrkS1rUv-0k3L79BpO-ReN7fDI
id: node
label: Content
tags:
article_published_time: '[node:created]'
description: '[node:field_summary]'
keywords: 'node:field_tags?'
og_image: '[node:field_primary_image]'
og_video: '[node:field_featured_image:entity]'
twitter_cards_description: '[node:field_summary]'
12 changes: 12 additions & 0 deletions config/sync/metatag.metatag_defaults.taxonomy_term.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uuid: d8370db7-806c-4166-96d7-3462067a36eb
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: 92bXZdyYJ5xqukdfmGRr_CYcwm1vfuS8b8aJ7X_G7E0
id: taxonomy_term
label: 'Taxonomy term'
tags:
canonical_url: '[term:url]'
description: '[term:description]'
title: '[term:name] | [site:name]'
12 changes: 12 additions & 0 deletions config/sync/metatag.metatag_defaults.user.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uuid: 745ccee4-da43-4f16-82bf-373ecf5e1f8d
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: MvQPTbQx0Vxwy0ordSHyixdZmLCMpvMdLD69dlwkrKc
id: user
label: User
tags:
canonical_url: '[user:url]'
og_type: website
title: '[user:display-name] | [site:name]'
9 changes: 9 additions & 0 deletions config/sync/metatag.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_core:
default_config_hash: DrYt8PcXA0xB3C3L1SvtefnkO5SwUonhY3n4Ld8yun4
entity_type_groups: { }
separator: ''
tag_trim_method: beforeValue
use_maxlength: true
tag_trim_maxlength: { }
tag_scroll_max_height: ''
tag_trim_end: '|.,-:;/+&([{"'''
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ _meta:
uuid: 3c8c1a7b-5b5b-4196-b435-1fa57ff0230b
bundle: resources
default_langcode: en
depends:
ad7aa7a5-33cf-400e-93cf-11820e467111: node
default:
revision_uid:
-
Expand Down Expand Up @@ -49,6 +47,3 @@ default:
-
value: 'An overview of how to design and deliver accessible digital products and services in the federal government'
format: html
field_topics:
-
entity: ad7aa7a5-33cf-400e-93cf-11820e467111
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ default:
alias: /news
langcode: en
pathauto: 0
body:
-
value: '<p><a href="/node/67" data-entity-type="node" data-entity-uuid="b5f41387-ec98-4f72-964e-0a5c26612d15" data-entity-substitution="canonical">BLOG</a></p>'
format: html
summary: ''
field_landing_page_type:
-
value: news
field_summary:
-
value: 'Government teams are improving digital experiences every day. Gain insights from their stories, case studies, and innovations.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ _meta:
depends:
623a2982-602b-4762-a59e-9a7c30c64f36: node
3c8c1a7b-5b5b-4196-b435-1fa57ff0230b: node
e164ea7f-8591-4282-a920-b11c94402fbb: media
default:
revision_uid:
-
Expand Down Expand Up @@ -264,6 +265,9 @@ default:
field_page_weight:
-
value: 2
field_primary_image:
-
entity: e164ea7f-8591-4282-a920-b11c94402fbb
field_summary:
-
value: "Accessibility isn't just the right thing to do; it’s the law. The guidance, resources, and community you find here will help you deliver accessible digital products and services in the federal government."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ _meta:
bundle: resources
default_langcode: en
depends:
58b5051e-356e-4ace-be42-ca090259d6ab: node
80caaa35-a22b-43ae-a72c-9a714c333a06: node
default:
revision_uid:
Expand Down Expand Up @@ -54,7 +53,5 @@ default:
value: 'Introductory guidance on implementing privacy protections for users of federal websites.'
format: html
field_topics:
-
entity: 58b5051e-356e-4ace-be42-ca090259d6ab
-
entity: 80caaa35-a22b-43ae-a72c-9a714c333a06
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ default:
uri: 'https://digital.gov/events/#events-past'
title: 'Past events'
options: { }
field_summary:
field_deck:
-
value: 'Digital.gov provides free webinars that highlight the innovations, case studies, tools, and resources people in government need most.'
format: html
field_landing_page_type:
-
value: events
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ default:
alias: /communities
langcode: en
pathauto: 0
field_summary:
body:
-
value: '<drupal-media data-entity-type="media" data-entity-uuid="e164ea7f-8591-4282-a920-b11c94402fbb">&nbsp;</drupal-media><p>&nbsp;</p><p><a href="/node/67" data-entity-type="node" data-entity-uuid="b5f41387-ec98-4f72-964e-0a5c26612d15" data-entity-substitution="canonical">BLOG</a></p>'
format: html
summary: ''
field_deck:
-
value: 'Collaborate and share resources with other communities across government who are focused on building better digital experience in government.'
format: html
field_landing_page_type:
-
value: communities
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ default:
alias: /resources
langcode: en
pathauto: 0
field_summary:
body:
-
value: "Don't know where to start with a federal requirement? Aren't sure how to adopt a new technology with your team? Start here! We have resources for every level. Our collections are organized by popular topics, and they will help you meet the requirements of"
value: '<p>test</p>'
format: html
summary: ''
field_deck:
-
value: 'Essential how-to guidance for government product managers and digital teams.'
format: html
field_landing_page_type:
-
value: resources
Loading