diff --git a/gatsby-config.js b/gatsby-config.js index 456396f92..697aab5e6 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -9,7 +9,7 @@ module.exports = { siteMetadata: { title: 'React: A JavaScript library for building user interfaces', - siteUrl: 'https://reactjs.org', + siteUrl: 'https://es.reactjs.org', rssFeedTitle: 'React', rssFeedDescription: 'A JavaScript library for building user interfaces', }, diff --git a/package.json b/package.json index 0dd174fb9..f2257b969 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.1", "private": true, "bugs": { - "url": "https://github.com/reactjs/reactjs.org" + "url": "https://github.com/reactjs/es.reactjs.org" }, "dependencies": { "babel-eslint": "^8.0.1", @@ -60,7 +60,7 @@ "node": ">8.4.0", "yarn": "^1.3.2" }, - "homepage": "https://reactjs.org/", + "homepage": "https://es.reactjs.org/", "keywords": [ "gatsby" ], @@ -68,7 +68,7 @@ "main": "n/a", "repository": { "type": "git", - "url": "git+https://github.com/reactjs/reactjs.org.git" + "url": "git+https://github.com/reactjs/es.reactjs.org.git" }, "scripts": { "build": "gatsby build", diff --git a/src/components/MarkdownPage/MarkdownPage.js b/src/components/MarkdownPage/MarkdownPage.js index 9214552bb..f5fc975f6 100644 --- a/src/components/MarkdownPage/MarkdownPage.js +++ b/src/components/MarkdownPage/MarkdownPage.js @@ -112,10 +112,10 @@ const MarkdownPage = ({
)} diff --git a/src/html.js b/src/html.js index e0e2757e8..bf2c5149e 100644 --- a/src/html.js +++ b/src/html.js @@ -7,7 +7,7 @@ const JS_NPM_URLS = [ export default class HTML extends React.Component { render() { return ( - + {JS_NPM_URLS.map(url => ( diff --git a/src/site-constants.js b/src/site-constants.js index a401ab74b..0ac469fa2 100644 --- a/src/site-constants.js +++ b/src/site-constants.js @@ -7,7 +7,7 @@ // NOTE: We can't just use `location.toString()` because when we are rendering // the SSR part in node.js we won't have a proper location. -const urlRoot = 'https://reactjs.org'; +const urlRoot = 'https://es.reactjs.org'; const version = '16.8.1'; const babelURL = 'https://unpkg.com/babel-standalone@6.26.0/babel.min.js';