Update metatag defaults

Created on 14 June 2023, over 1 year ago
Updated 3 August 2023, over 1 year ago

Problem/Motivation

There is default metatag config for metatag article, but which should be for news. There is no schema.org event metadata yet.

Proposed resolution

* Remove the schema_article config
* Add schema_event config:

schema_event_url: '[node:url]'
schema_event_name: '[node:title]'
schema_event_image: 'a:3:{s:5:"@type";s:11:"ImageObject";s:20:"representativeOfPage";s:4:"True";s:3:"url";s:76:"[node:field_media_canonical_image:entity:field_media_image:social_large:url]";}'
schema_event_type: Event
schema_event_start_date: '[node:field_event_start_date:date:html_datetime]'
schema_event_event_attendance_mode: OfflineEventAttendanceMode
schema_event_end_date: '[node:field_event_end_date:date:html_datetime]'
schema_event_location: 'a:3:{s:5:"@type";s:5:"Place";s:4:"name";s:19:"";s:7:"address";a:5:{s:5:"@type";s:13:"PostalAddress";s:13:"streetAddress";s:40:"[node:field_event_address:address_line1]";s:15:"addressLocality";s:35:"[node:field_event_address:locality]";s:10:"postalCode";s:38:"[node:field_event_address:postal_code]";s:14:"addressCountry";s:39:"[node:field_event_address:country_code]";}}'
schema_event_description: '[node:field_description]'
πŸ“Œ Task
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium ducktape

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024