You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the frontpage is a node then with current version of metatag you can not use node: tokens in the metatags.
Because metatag does not use Content config on the frontpage and in the Global:Homepage you can not use node tokens.
My proposal would be:
remove the else { } from
// Load any meta tags assigned via metatag_page_set_metatags(). Note: this
// must include the necessary defaults.
else {
$tags += metatag_page_get_metatags($instance);
}
(line 1799 of metatag.module)
Then it will use both the Global:Homepage settings as well as the Content metatag settings if both are available.
But it is also possible I misunderstand the module?
The text was updated successfully, but these errors were encountered:
quicksketch
changed the title
frontpage and node
Allow node: tokens on the Global: Homepage replacements
Oct 20, 2023
When the frontpage is a node then with current version of metatag you can not use node: tokens in the metatags.
Because metatag does not use Content config on the frontpage and in the Global:Homepage you can not use node tokens.
My proposal would be:
remove the else { } from
(line 1799 of metatag.module)
Then it will use both the Global:Homepage settings as well as the Content metatag settings if both are available.
But it is also possible I misunderstand the module?
The text was updated successfully, but these errors were encountered: