From 5d32075363993191ba94605247992497f70aeb20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Tue, 30 Aug 2016 10:56:48 -0700 Subject: [PATCH] Remove short descriptions for non-blog-post layouts Summary: My earlier PR, #9648, introduced an issue that [broke the website](https://circleci.com/gh/facebook/react-native/10634). This PR addresses the issue. Closes https://github.com/facebook/react-native/pull/9666 Differential Revision: D3791596 Pulled By: JoelMarcey fbshipit-source-id: a7bc33ce0f640c2760ae612dee589c0ceb31803e --- website/core/Site.js | 4 ++-- website/layout/AutodocsLayout.js | 3 +-- website/layout/BlogPageLayout.js | 3 ++- website/layout/DocsLayout.js | 3 +-- website/layout/PageLayout.js | 3 +-- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/website/core/Site.js b/website/core/Site.js index d184a6b1f..3b3bd7333 100644 --- a/website/core/Site.js +++ b/website/core/Site.js @@ -97,8 +97,8 @@ var Site = React.createClass({ {title} { - metaTags.map((tag) => - ) + metaTags.map((tag, index) => + ) } diff --git a/website/layout/AutodocsLayout.js b/website/layout/AutodocsLayout.js index 9bea8289a..6d41413ae 100644 --- a/website/layout/AutodocsLayout.js +++ b/website/layout/AutodocsLayout.js @@ -890,8 +890,7 @@ var Autodocs = React.createClass({ return ( + title={metadata.title} >
diff --git a/website/layout/BlogPageLayout.js b/website/layout/BlogPageLayout.js index 4e58a7acb..9e7a79080 100644 --- a/website/layout/BlogPageLayout.js +++ b/website/layout/BlogPageLayout.js @@ -32,7 +32,8 @@ var BlogPageLayout = React.createClass({ return ( + title="React Native Blog" + description="The best place to stay up-to-date with the latest React Native news and events.">
diff --git a/website/layout/DocsLayout.js b/website/layout/DocsLayout.js index 89d4e329a..fba50b916 100644 --- a/website/layout/DocsLayout.js +++ b/website/layout/DocsLayout.js @@ -36,8 +36,7 @@ var DocsLayout = React.createClass({ return ( + title={metadata.title} >
diff --git a/website/layout/PageLayout.js b/website/layout/PageLayout.js index 38469e1a7..c55f1400b 100644 --- a/website/layout/PageLayout.js +++ b/website/layout/PageLayout.js @@ -28,8 +28,7 @@ var support = React.createClass({ return ( + title={metadata.title} >
{content}