Skip to content
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

Generated feed does not validate on validator.w3c.org #298

Closed
Dovizu opened this issue Feb 5, 2020 · 2 comments
Closed

Generated feed does not validate on validator.w3c.org #298

Dovizu opened this issue Feb 5, 2020 · 2 comments

Comments

@Dovizu
Copy link

Dovizu commented Feb 5, 2020

Discovered this issue while looking into another issue. An example: https://validator.w3.org/feed/check.cgi?url=b-side.donny.io%2Ffeed.xml

@ashmaroli
Copy link
Member

Based on the validation report, the errors seem to be because of en_US set as lang attribute.
This is actually defined in your config file.
Therefore, edit your config file to:

_config.yml

lang: en
locale: en_US

Consequently, do edit the layouts and includes of your site to reflect the change above.

@Dovizu
Copy link
Author

Dovizu commented Feb 6, 2020

Great, edited the issue and now my feed validates. It was my mistake after all, thanks!

@Dovizu Dovizu closed this as completed Feb 6, 2020
@jekyll jekyll locked and limited conversation to collaborators Feb 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants