Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The default Global metatag config provided in metatag.metatag_defaults.global.yml sets the title tag as title: '[current-page:title] | [site:name]'
The problem is that the token [current-page:title]
isn't provided by the metatag project or it's dependencies.
Might be a legacy issue. It appears the D8 Token project provides a number of 'current-page' tokens http://cgit.drupalcode.org/token/tree/token.tokens.inc
I think the resolution would be to update the default title tag, or add the Token module as a dependency, the former probably being the least disruptive.
Comments
Comment #2
DamienMcKennaThis is because the Token module is required.