ethercreative/seo

Locale / Locales Issue

zadro opened this issue · 0 comments

zadro commented

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.