Skip to content

Commit

Permalink
fix(gatsby-theme-i18n): Correct HTML lang (#92)
Browse files Browse the repository at this point in the history
The lang value should be "en-US", not the code
  • Loading branch information
theowenyoung authored Jan 6, 2021
1 parent 631ae27 commit e6a3b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-theme-i18n/src/components/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const SEO = ({ location, pageContext }) => {

return (
<Helmet>
<html lang={locale} />
<html lang={pageContext.hrefLang} />
<link rel="alternate" hrefLang="x-default" href={defaultSiteUrl} />
<link
rel="alternate"
Expand Down

0 comments on commit e6a3b30

Please sign in to comment.