From 7ab7ed643add5e958d32374e4355eb6c8fdea505 Mon Sep 17 00:00:00 2001 From: Willow Gillingham Date: Tue, 14 Sep 2021 22:32:12 +0000 Subject: [PATCH] added some metatags for asu_repository_item and collection, updated realtime_seo to show on collection edit page -- unknown how score is derived for #80 --- ....field.node.collection.field_yoast_seo.yml | 20 +++++++++++++++++++ .../field.storage.node.field_yoast_seo.yml | 18 +++++++++++++++++ ...tag_defaults.node__asu_repository_item.yml | 8 +++++--- ...atag.metatag_defaults.node__collection.yml | 6 ++++-- config/sync/metatag.settings.yml | 3 +++ 5 files changed, 50 insertions(+), 5 deletions(-) create mode 100644 config/sync/field.field.node.collection.field_yoast_seo.yml create mode 100644 config/sync/field.storage.node.field_yoast_seo.yml diff --git a/config/sync/field.field.node.collection.field_yoast_seo.yml b/config/sync/field.field.node.collection.field_yoast_seo.yml new file mode 100644 index 000000000..41659189b --- /dev/null +++ b/config/sync/field.field.node.collection.field_yoast_seo.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_yoast_seo + - node.type.collection + module: + - yoast_seo +id: node.collection.field_yoast_seo +field_name: field_yoast_seo +entity_type: node +bundle: collection +label: 'Real-time SEO' +description: '' +required: false +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: yoast_seo diff --git a/config/sync/field.storage.node.field_yoast_seo.yml b/config/sync/field.storage.node.field_yoast_seo.yml new file mode 100644 index 000000000..d27e28287 --- /dev/null +++ b/config/sync/field.storage.node.field_yoast_seo.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - node + - yoast_seo +id: node.field_yoast_seo +field_name: field_yoast_seo +entity_type: node +type: yoast_seo +settings: { } +module: yoast_seo +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/metatag.metatag_defaults.node__asu_repository_item.yml b/config/sync/metatag.metatag_defaults.node__asu_repository_item.yml index 04d3a8066..34c0e8866 100644 --- a/config/sync/metatag.metatag_defaults.node__asu_repository_item.yml +++ b/config/sync/metatag.metatag_defaults.node__asu_repository_item.yml @@ -4,8 +4,10 @@ dependencies: { } id: node__asu_repository_item label: 'Content: ASU Repository Item' tags: + keywords: '[node:field_geographic_subject] [node:field_subjects_name] [node:field_name_title_subject] [node:field_title_subject] [node:field_subject]' + description: '[node:field_rich_description:value]' + citation_publication_date: '[islandoratokens:publication_date]' citation_technical_report_institution: '[islandoratokens:agent_publisher]' - citation_pdf_url: '[islandoratokens:pdf_url]' citation_title: '[node:title]' - citation_publication_date: '[islandoratokens:publication_date]' - citation_author: '[islandoratokens:agent_author]' + citation_author: '[islandoratokens:agent_contributor]' + citation_pdf_url: '[islandoratokens:pdf_url]' diff --git a/config/sync/metatag.metatag_defaults.node__collection.yml b/config/sync/metatag.metatag_defaults.node__collection.yml index 576868631..89d62c5cd 100644 --- a/config/sync/metatag.metatag_defaults.node__collection.yml +++ b/config/sync/metatag.metatag_defaults.node__collection.yml @@ -1,7 +1,9 @@ langcode: en -status: false +status: true dependencies: { } id: node__collection label: 'Content: Collection' tags: - citation_title: '[node:title]' + keywords: '[node:field_yoast_seo:focus_keyword]' + title: '[node:title]' + description: '[node:field_rich_description]' diff --git a/config/sync/metatag.settings.yml b/config/sync/metatag.settings.yml index 52d012e2f..b363ccde3 100644 --- a/config/sync/metatag.settings.yml +++ b/config/sync/metatag.settings.yml @@ -1,6 +1,9 @@ entity_type_groups: node: asu_repository_item: + basic: basic google_scholar: google_scholar collection: + basic: basic google_scholar: google_scholar +separator: ','