seo icon indicating copy to clipboard operation
seo copied to clipboard

Locale / Locales Issue

Open zadro opened this issue 3 years ago • 0 comments

It Appears Craft 4 has changed craft.app.locale to an array ..?

Anyway, this needs to be changed in your default SEO template:

{% set locales = craft.app.i18n.siteLocaleIds|without(locale) %}

To

{% set locales = craft.app.i18n.siteLocaleIds|without(locale.id) %}

Otherwise, the locale meta property is duplicated.

zadro avatar Jun 11 '22 17:06 zadro