We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think the og:local:alternate should be the full locale
<meta content="cs" property="og:locale:alternate"> <meta content="nl" property="og:locale:alternate"> <meta content="en_US" property="og:locale">
=>
<meta content="cs_CZ" property="og:locale:alternate"> <meta content="nl_NL" property="og:locale:alternate"> <meta content="en_US" property="og:locale">
Code
if ($lang !== kirby()->language()) { $meta['og:locale:alternate'][] = fn () => $lang->code(); }
if ($lang !== kirby()->language()) { $meta['og:locale:alternate'][] = fn () => $lang->locale(LC_ALL); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think the og:local:alternate should be the full locale
=>
Code
=>
The text was updated successfully, but these errors were encountered: