diff --git a/composer.json b/composer.json index ac4477f23..17257398e 100644 --- a/composer.json +++ b/composer.json @@ -136,6 +136,7 @@ "drupal/token": "^1.0", "drupal/video_embed_field": "^1.0", "drupal/views_load_more": "dev-1.x", + "drupal/yoast_seo": "^2.0", "valiton/harbourmaster": "~8.1", "bower-asset/dropzone": "^5.1", "bower-asset/exif-js": "^2.3.0", diff --git a/drupal-org.make b/drupal-org.make index 3979529f5..7f51497ef 100644 --- a/drupal-org.make +++ b/drupal-org.make @@ -130,6 +130,8 @@ projects[video_embed_field][version] = 1 projects[views_load_more][type] = module projects[views_load_more][download][url] = https://git.drupal.org/project/views_load_more.git projects[views_load_more][download][branch] = 8.x-1.x +projects[yoast_seo][type] = module +projects[yoast_seo][version] = 2 libraries[dropzone][type] = library libraries[dropzone][download][type] = get libraries[dropzone][download][url] = https://github.com/enyo/dropzone/archive/v5.1.1.zip diff --git a/modules/thunder_article/config/optional/core.entity_form_display.node.article.default.yml b/modules/thunder_article/config/optional/core.entity_form_display.node.article.default.yml index c8d741bf2..a73fabbd8 100644 --- a/modules/thunder_article/config/optional/core.entity_form_display.node.article.default.yml +++ b/modules/thunder_article/config/optional/core.entity_form_display.node.article.default.yml @@ -6,6 +6,7 @@ dependencies: - field.field.node.article.field_channel - field.field.node.article.field_meta_tags - field.field.node.article.field_paragraphs + - field.field.node.article.field_seo_keyword - field.field.node.article.field_seo_title - field.field.node.article.field_tags - field.field.node.article.field_teaser_media @@ -20,6 +21,7 @@ dependencies: - path - scheduler - select2 + - yoast_seo third_party_settings: field_group: group_teaser: @@ -54,6 +56,7 @@ third_party_settings: - field_channel - title - field_seo_title + - field_seo_keyword - field_tags parent_name: '' weight: 3 @@ -109,6 +112,12 @@ content: split_text: true delete_confirmation: true region: content + field_seo_keyword: + weight: 5 + settings: { } + third_party_settings: { } + type: yoast_seo_widget + region: content field_seo_title: type: string_textfield weight: 4 @@ -125,7 +134,7 @@ content: region: content field_tags: type: select2_entity_reference - weight: 5 + weight: 6 settings: autocomplete: true third_party_settings: { } diff --git a/modules/thunder_article/config/optional/core.entity_view_display.node.article.default.yml b/modules/thunder_article/config/optional/core.entity_view_display.node.article.default.yml index ab1cc6cf4..60cd506b0 100644 --- a/modules/thunder_article/config/optional/core.entity_view_display.node.article.default.yml +++ b/modules/thunder_article/config/optional/core.entity_view_display.node.article.default.yml @@ -5,6 +5,7 @@ dependencies: - field.field.node.article.field_channel - field.field.node.article.field_meta_tags - field.field.node.article.field_paragraphs + - field.field.node.article.field_seo_keyword - field.field.node.article.field_seo_title - field.field.node.article.field_tags - field.field.node.article.field_teaser_media @@ -37,17 +38,18 @@ content: region: content links: weight: 2 + region: content settings: { } third_party_settings: { } - region: content shariff_field: weight: 3 + region: content settings: { } third_party_settings: { } - region: content hidden: field_channel: true field_meta_tags: true + field_seo_keyword: true field_seo_title: true field_teaser_media: true field_teaser_text: true diff --git a/modules/thunder_article/config/optional/field.field.node.article.field_seo_keyword.yml b/modules/thunder_article/config/optional/field.field.node.article.field_seo_keyword.yml new file mode 100644 index 000000000..6240ea3b6 --- /dev/null +++ b/modules/thunder_article/config/optional/field.field.node.article.field_seo_keyword.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_seo_keyword + - node.type.article + module: + - yoast_seo +id: node.article.field_seo_keyword +field_name: field_seo_keyword +entity_type: node +bundle: article +label: 'SEO keyword' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: yoast_seo diff --git a/modules/thunder_article/config/optional/field.storage.node.field_seo_keyword.yml b/modules/thunder_article/config/optional/field.storage.node.field_seo_keyword.yml new file mode 100644 index 000000000..8437cc263 --- /dev/null +++ b/modules/thunder_article/config/optional/field.storage.node.field_seo_keyword.yml @@ -0,0 +1,18 @@ +langcode: en +status: true +dependencies: + module: + - node + - yoast_seo +id: node.field_seo_keyword +field_name: field_seo_keyword +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/thunder.info.yml b/thunder.info.yml index c517298e2..309a98f76 100644 --- a/thunder.info.yml +++ b/thunder.info.yml @@ -76,6 +76,7 @@ install: - slick_media - responsive_preview - video_embed_media + - yoast_seo # thunder - thunder_article - thunder_media