fix(learn): prevent indexing learn pages on search engines (#38260)
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
const path = require('path');
|
||||
const config = require('./config/env');
|
||||
|
||||
const {
|
||||
buildChallenges,
|
||||
@ -11,7 +12,7 @@ const curriculumIntroRoot = path.resolve(__dirname, './src/pages');
|
||||
module.exports = {
|
||||
siteMetadata: {
|
||||
title: 'freeCodeCamp',
|
||||
siteUrl: 'https://www.freecodecamp.org'
|
||||
siteUrl: config.homeLocation
|
||||
},
|
||||
plugins: [
|
||||
'gatsby-plugin-react-helmet',
|
||||
|
Reference in New Issue
Block a user