Skip to content

Commit 32c3408

Browse files
Merge pull request #99 from bitlogic/SBIT-503-hreflang-lang-attributes
Se agregan las dependencias de React-Helmet y se agregan hreflang e…
2 parents 719c07b + b8b9b4f commit 32c3408

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

gatsby-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,7 @@ module.exports = {
165165
},
166166
"gatsby-plugin-offline",
167167
`gatsby-plugin-sass`,
168+
"gatsby-plugin-webpack-bundle-analyser-v2",
169+
"gatsby-plugin-react-helmet"
168170
],
169171
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"gatsby-plugin-image": "^2.6.0",
2020
"gatsby-plugin-manifest": "^4.6.0",
2121
"gatsby-plugin-offline": "^5.6.0",
22+
"gatsby-plugin-react-helmet": "^2.0.12-5",
2223
"gatsby-plugin-purgecss": "^6.2.1",
2324
"gatsby-plugin-robots-txt": "1.7.1",
2425
"gatsby-plugin-sass": "^5.6.0",

src/components/Seo/Seo.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,16 @@ function Seo({ description, lang, meta, title, keywords }) {
7676
content: metaDescription,
7777
},
7878
].concat(meta)}
79-
// link={[]}
79+
link={[{
80+
rel: "alternate",
81+
hrefLang: 'es',
82+
href:'https://es.bitlogic.io',
83+
},
84+
{
85+
rel: "alternate",
86+
hrefLang: 'en',
87+
href:'https://en.bitlogic.io',
88+
}]}
8089
/>
8190
)
8291
}

0 commit comments

Comments
 (0)