Skip to content

Commit ed65b8d

Browse files
committed
Fix hreflang meta tags
1 parent 886b9a4 commit ed65b8d

File tree

3 files changed

+263
-30598
lines changed

3 files changed

+263
-30598
lines changed

gatsby-config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ if (process.env.GATSBY_DRIFT_API) {
163163
});
164164
}
165165

166-
const autoCanonicalURL = false;
166+
// when `canonical` URL is finally fixed, add this to the plugin list
167+
const autoCanonicalURL = true;
167168
if (autoCanonicalURL) {
168169
plugins.push({
169170
resolve: `gatsby-plugin-react-helmet-canonical-urls`,

0 commit comments

Comments
 (0)