-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
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
lang != locale #375
Comments
This comment has been minimized.
This comment has been minimized.
I can reproduce this in version 2.6.1. Steps to reproduce:
<html lang="en_GB"> This is a bug because, as the original comment says, the <html lang="en"> Other information: When one don't specify the lang variable en_US is the default, but interestingly enough it correctly sets the lang attribute to be "en". I am using this plugin through Github Pages. |
The common issue in both of the comments above is that While we shall look into resolving the issue with the |
Thank you @ashmaroli , created an issue in the Minima repo. |
From https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md:
Whatever
lang
is set to seems to be used both for thelang
attribute in thehtml
tag as well as for theog:locale
property.HTML's
lang
should adhere to ISO 639-1 (that is, language only) butog:locale
should be on thelanguage_TERRITORY
format.Suggestion: Add
locale
config setting and use that forog:locale
. Uselang
setting only for HTML'slang
.The text was updated successfully, but these errors were encountered: