mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
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
This commit is contained in:
parent
150fe7cb9c
commit
5d32075363
@ -97,8 +97,8 @@ var Site = React.createClass({
|
||||
<head>
|
||||
<title>{title}</title>
|
||||
{
|
||||
metaTags.map((tag) =>
|
||||
<meta {...tag} />)
|
||||
metaTags.map((tag, index) =>
|
||||
<meta key={index} {...tag} />)
|
||||
}
|
||||
|
||||
<base href={basePath} />
|
||||
|
@ -890,8 +890,7 @@ var Autodocs = React.createClass({
|
||||
return (
|
||||
<Site
|
||||
section="docs"
|
||||
title={metadata.title}
|
||||
description={content.trim().split('\n')[0]} >
|
||||
title={metadata.title} >
|
||||
<section className="content wrap documentationContent">
|
||||
<DocsSidebar metadata={metadata} />
|
||||
<div className="inner-content">
|
||||
|
@ -32,7 +32,8 @@ var BlogPageLayout = React.createClass({
|
||||
return (
|
||||
<Site
|
||||
section="blog"
|
||||
title="Blog">
|
||||
title="React Native Blog"
|
||||
description="The best place to stay up-to-date with the latest React Native news and events.">
|
||||
<section className="content wrap documentationContent">
|
||||
<BlogSidebar />
|
||||
<div className="inner-content">
|
||||
|
@ -36,8 +36,7 @@ var DocsLayout = React.createClass({
|
||||
return (
|
||||
<Site
|
||||
section="docs"
|
||||
title={metadata.title}
|
||||
description={content.trim().split('\n')[0]} >
|
||||
title={metadata.title} >
|
||||
<section className="content wrap documentationContent">
|
||||
<DocsSidebar metadata={metadata} />
|
||||
<div className="inner-content">
|
||||
|
@ -28,8 +28,7 @@ var support = React.createClass({
|
||||
return (
|
||||
<Site
|
||||
section={metadata.section}
|
||||
title={metadata.title}
|
||||
description={content.trim().split('\n')[0]} >
|
||||
title={metadata.title} >
|
||||
<section className="content wrap documentationContent nosidebar">
|
||||
<div className="inner-content">
|
||||
<Marked>{content}</Marked>
|
||||
|
Loading…
x
Reference in New Issue
Block a user