Skip to content

Commit

Permalink
Merge pull request #3614 from CityOfBoston/DIG-5124
Browse files Browse the repository at this point in the history
(develop) Add published and updated dates properly to metatags and str…
  • Loading branch information
davidrkupton authored Sep 20, 2024
2 parents 0128485 + f9dda9b commit 077d6af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/default/metatag.metatag_defaults.global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _core:
id: global
label: Global
tags:
generator: 'Drupal 9 (http://drupal.org)'
generator: 'Drupal 10 (http://drupal.org)'
canonical_url: '[current-page:url:absolute]'
title: '[current-page:title] | [current-page:pager][site:name]'
shortlink: '[current-page:url:unaliased]'
Expand Down
16 changes: 9 additions & 7 deletions config/default/metatag.metatag_defaults.node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@ _core:
id: node
label: Content
tags:
article_modified_time: '[node:changed:html_datetime]'
article_published_time: '[node:published:html_datetime]'
canonical_url: '[node:url]'
description: '[node:summary]'
title: '[node:title] | [site:name]'
og_description: '[node:summary]'
og_updated_time: '[node:changed:custom:c]'
article_modified_time: '[node:created:custom:c]'
article_published_time: '[node:created:custom:c]'
og_url: '[current-page:url:absolute]'
og_image: 'https://patterns.boston.gov/images/global/icons/seal_dark_1000x1000.png'
og_title: '[node:title]'
twitter_cards_description: '[node:summary]'
og_updated_time: '[node:changed:html_datetime]'
og_url: '[current-page:url:absolute]'
schema_article_date_modified: '[node:changed:html_datetime]'
schema_article_date_published: '[node:published:html_datetime]'
title: '[node:title] | [site:name]'
twitter_cards_creator: '@CityOfBoston'
twitter_cards_type: summary
twitter_cards_creator_id: '124455872'
twitter_cards_description: '[node:summary]'
twitter_cards_site: '@CityOfBoston'
twitter_cards_site_id: '124455872'
twitter_cards_title: '[node:title]'
twitter_cards_type: summary

0 comments on commit 077d6af

Please sign in to comment.