-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kanopi/schema
Create metatags for person
- Loading branch information
Showing
10 changed files
with
251 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.sa_robots | ||
- node.type.sa_person | ||
id: node.sa_person.sa_robots | ||
field_name: sa_robots | ||
entity_type: node | ||
bundle: sa_person | ||
label: 'Robots meta tag' | ||
description: "<p>Use this field to customize the Robots meta tag if needed. If you enter nothing here, the default <code>index, follow</code> is assumed.</p>\r\n\r\n<p>The robots meta tag lets you utilize a granular, page-specific approach to controlling how an individual page should be indexed and served to users in search results.</p>\r\n\r\n<p>Visit Google's <a href=\"https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#directives\">Valid indexing and serving rules</a> for a full list of options.</p>" | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.sa_seo_description | ||
- node.type.sa_person | ||
id: node.sa_person.sa_seo_description | ||
field_name: sa_seo_description | ||
entity_type: node | ||
bundle: sa_person | ||
label: 'SEO Description' | ||
description: 'Use this field to overwrite the default description for SEO meta descriptions.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string_long |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.sa_seo_image | ||
- media.type.image | ||
- node.type.sa_person | ||
id: node.sa_person.sa_seo_image | ||
field_name: sa_seo_image | ||
entity_type: node | ||
bundle: sa_person | ||
label: 'SEO Image' | ||
description: 'Use this field to overwrite the default image for SEO meta tags.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
handler: 'default:media' | ||
handler_settings: | ||
target_bundles: | ||
image: image | ||
sort: | ||
field: _none | ||
direction: ASC | ||
auto_create: false | ||
auto_create_bundle: field_media_image | ||
field_type: entity_reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.node.sa_seo_page_title | ||
- node.type.sa_person | ||
id: node.sa_person.sa_seo_page_title | ||
field_name: sa_seo_page_title | ||
entity_type: node | ||
bundle: sa_person | ||
label: 'SEO Page Title' | ||
description: 'Use this field to overwrite the default HTML page title for SEO.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: node__sa_person | ||
label: 'Content: Person' | ||
tags: | ||
canonical_url: '[site:url]' | ||
description: '[node:sa_seo_description|node:sa_biography]' | ||
image_src: '[node:sa_seo_image:entity:field_media_image:sa_social_media_facebook|node:sa_headshot:entity:field_media_image:sa_social_media_facebook]' | ||
og_country_name: '[node:sa_address:country_name]' | ||
og_description: '[node:sa_seo_description|node:sa_biography]' | ||
og_email: '[node:sa_email]' | ||
og_fax_number: '[node:sa_fax]' | ||
og_image: '[node:sa_seo_image:entity:field_media_image:sa_social_media_facebook|node:sa_headshot:entity:field_media_image:sa_social_media_facebook]' | ||
og_image_alt: '[node:sa_seo_image:entity:field_media_image:alt|node:sa_headshot:entity:field_media_image:alt]' | ||
og_image_height: '[node:sa_seo_image:entity:field_media_image:sa_social_media_facebook:height|node:sa_headshot:entity:field_media_image:sa_social_media_facebook:height]' | ||
og_image_type: '[node:sa_seo_image:entity:field_media_image:sa_social_media_facebook:mimetype|node:sa_headshot:entity:field_media_image:sa_social_media_facebook:mimetype]' | ||
og_image_width: '[node:sa_seo_image:entity:field_media_image:sa_social_media_facebook:width|node:sa_headshot:entity:field_media_image:sa_social_media_facebook:width]' | ||
og_locale: en_US | ||
og_locality: '[node:sa_address:locality]' | ||
og_phone_number: '[node:sa_phone]' | ||
og_postal_code: '[node:sa_address:postal_code]' | ||
og_site_name: '[site:name]' | ||
og_street_address: '[node:sa_address:address_line1]' | ||
og_title: '[node:sa_seo_page_title|node:title]' | ||
og_type: website | ||
og_updated_time: '[node:changed:custom:c]' | ||
og_url: '[current-page:url:absolute]' | ||
profile_first_name: '[node:sa_first_name]' | ||
profile_last_name: '[node:sa_last_name]' | ||
rights: 'Copyright ©[date:html_year] All rights reserved.' | ||
schema_person_address: 'a:5:{s:5:"@type";s:13:"PostalAddress";s:13:"streetAddress";s:31:"[node:sa_address:address_line1]";s:15:"addressLocality";s:26:"[node:sa_address:locality]";s:10:"postalCode";s:30:"[node:sa_address:sorting_code]";s:14:"addressCountry";s:30:"[node:sa_address:country_code]";}' | ||
schema_person_description: '[node:sa_biography|node:sa_seo_description]' | ||
schema_person_email: '[node:sa_email]' | ||
schema_person_family_name: '[node:sa_last_name]' | ||
schema_person_given_name: '[node:sa_first_name]' | ||
schema_person_image: 'a:5:{s:5:"@type";s:11:"ImageObject";s:20:"representativeOfPage";s:4:"True";s:3:"url";s:58:"[node:sa_seo_image:entity:url|node:sa_headshot:entity:url]";s:5:"width";s:148:"[node:sa_seo_image:entity:field_media_image:sa_social_media_facebook:width|node:sa_headshot:entity:field_media_image:sa_social_media_facebook:width]";s:6:"height";s:150:"[node:sa_seo_image:entity:field_media_image:sa_social_media_facebook:height|node:sa_headshot:entity:field_media_image:sa_social_media_facebook:height]";}' | ||
schema_person_name: '[node:sa_first_name]' | ||
schema_person_same_as: '[node:sa_social_media_links]' | ||
schema_person_telephone: '[node:sa_phone]' | ||
schema_person_type: Person | ||
title: '[node:sa_seo_page_title|node:title] | [site:name]' | ||
twitter_cards_description: '[node:sa_seo_description|node:sa_biography]' | ||
twitter_cards_image: '[node:sa_seo_image:entity:field_media_image:sa_social_media_x:url|node:sa_headshot:entity:field_media_image:sa_social_media_x:url]' | ||
twitter_cards_image_alt: '[node:sa_seo_image:entity:field_media_image:alt|node:sa_headshot:entity:field_media_image:alt]' | ||
twitter_cards_title: '[node:sa_seo_page_title|node:title]' | ||
twitter_cards_type: summary_large_image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
entity_type_groups: | ||
node: | ||
sa_person: | ||
basic: basic | ||
advanced: advanced | ||
open_graph: open_graph | ||
twitter_cards: twitter_cards | ||
schema_person: schema_person | ||
separator: ',' | ||
tag_trim_method: beforeValue | ||
use_maxlength: true | ||
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: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters