From accc3558be2ac530e4d8c86d1cb61ff67360f638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 16 Mar 2025 16:53:10 -0400 Subject: [PATCH 1/2] Disable admin mode on CAPTCHA --- config/sync/captcha.settings.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/sync/captcha.settings.yml b/config/sync/captcha.settings.yml index 93ed801..bd7904b 100644 --- a/config/sync/captcha.settings.yml +++ b/config/sync/captcha.settings.yml @@ -5,8 +5,9 @@ enable_globally_on_admin_routes: false default_challenge: riddler/Riddler description: 'This question is to verify that you are a human visitor and to prevent automated spam.' title: CAPTCHA -administration_mode: true +administration_mode: false administration_mode_on_admin_routes: false +whitelist_ips: '' wrong_captcha_response_message: 'The answer you entered for the CAPTCHA was not correct.' default_validation: 1 persistence: 1 From ce184f10ba7acf4a822843bb90be4660263e34f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 16 Mar 2025 16:54:08 -0400 Subject: [PATCH 2/2] Configure OpenGraph and Twitter metadata #125 --- config/sync/metatag.metatag_defaults.node.yml | 18 ++++++++-- config/sync/metatag.settings.yml | 34 +++++++++++++++++-- 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/config/sync/metatag.metatag_defaults.node.yml b/config/sync/metatag.metatag_defaults.node.yml index 574fbae..874b992 100644 --- a/config/sync/metatag.metatag_defaults.node.yml +++ b/config/sync/metatag.metatag_defaults.node.yml @@ -7,7 +7,19 @@ _core: id: node label: Content tags: - image_src: '[node:field_image:0:focal_point_1300x650]' - description: '[node:summary]' - title: '[node:title] | [site:name]' canonical_url: '[node:url]' + description: '[node:summary]' + image_src: '[node:field_image:0:focal_point_1300x650]' + og_description: '[node:field_summary]' + og_image: '[node:field_media_image:entity:field_media_image:focal_point_1300x650:url]' + og_image_alt: '[node:field_media_image:entity:field_media_image:alt]' + og_site_name: 'Grassroots Economic Organizing' + og_title: '[node:title]' + og_type: article + og_url: '[node:url:absolute]' + title: '[node:title] | [site:name]' + twitter_cards_description: '[node:field_summary]' + twitter_cards_image: '[node:field_media_image:entity:field_media_image:focal_point_325x195:url]' + twitter_cards_image_alt: '[node:field_media_image:entity:field_media_image:alt]' + twitter_cards_title: '[node:title]' + twitter_cards_type: summary_large_image diff --git a/config/sync/metatag.settings.yml b/config/sync/metatag.settings.yml index 2786bb2..9bc15ac 100644 --- a/config/sync/metatag.settings.yml +++ b/config/sync/metatag.settings.yml @@ -1,8 +1,38 @@ _core: default_config_hash: 3mgYDspyj5REgG6ooA1izlcMzEs34kHPFUOMIXeDOco -entity_type_groups: { } +entity_type_groups: + node: + article: + basic: basic + advanced: advanced + open_graph: open_graph + twitter_cards: twitter_cards + blog: + open_graph: open_graph + twitter_cards: twitter_cards + collection: + open_graph: open_graph + twitter_cards: twitter_cards + gleaning: + open_graph: open_graph + twitter_cards: twitter_cards + page: + open_graph: open_graph + twitter_cards: twitter_cards + people: + open_graph: open_graph + twitter_cards: twitter_cards +separator: ',' tag_trim_method: beforeValue use_maxlength: true -tag_trim_maxlength: { } +tag_trim_maxlength: + metatag_maxlength_title: null + metatag_maxlength_description: null + metatag_maxlength_abstract: null + metatag_maxlength_og_site_name: null + metatag_maxlength_og_title: null + metatag_maxlength_og_description: null + metatag_maxlength_twitter_cards_description: null + metatag_maxlength_twitter_cards_title: null tag_scroll_max_height: '' tag_trim_end: '|.,-:;/+&([{"'''