mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 16:10:58 +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>
|
<head>
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
{
|
{
|
||||||
metaTags.map((tag) =>
|
metaTags.map((tag, index) =>
|
||||||
<meta {...tag} />)
|
<meta key={index} {...tag} />)
|
||||||
}
|
}
|
||||||
|
|
||||||
<base href={basePath} />
|
<base href={basePath} />
|
||||||
|
@ -890,8 +890,7 @@ var Autodocs = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<Site
|
<Site
|
||||||
section="docs"
|
section="docs"
|
||||||
title={metadata.title}
|
title={metadata.title} >
|
||||||
description={content.trim().split('\n')[0]} >
|
|
||||||
<section className="content wrap documentationContent">
|
<section className="content wrap documentationContent">
|
||||||
<DocsSidebar metadata={metadata} />
|
<DocsSidebar metadata={metadata} />
|
||||||
<div className="inner-content">
|
<div className="inner-content">
|
||||||
|
@ -32,7 +32,8 @@ var BlogPageLayout = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<Site
|
<Site
|
||||||
section="blog"
|
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">
|
<section className="content wrap documentationContent">
|
||||||
<BlogSidebar />
|
<BlogSidebar />
|
||||||
<div className="inner-content">
|
<div className="inner-content">
|
||||||
|
@ -36,8 +36,7 @@ var DocsLayout = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<Site
|
<Site
|
||||||
section="docs"
|
section="docs"
|
||||||
title={metadata.title}
|
title={metadata.title} >
|
||||||
description={content.trim().split('\n')[0]} >
|
|
||||||
<section className="content wrap documentationContent">
|
<section className="content wrap documentationContent">
|
||||||
<DocsSidebar metadata={metadata} />
|
<DocsSidebar metadata={metadata} />
|
||||||
<div className="inner-content">
|
<div className="inner-content">
|
||||||
|
@ -28,8 +28,7 @@ var support = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<Site
|
<Site
|
||||||
section={metadata.section}
|
section={metadata.section}
|
||||||
title={metadata.title}
|
title={metadata.title} >
|
||||||
description={content.trim().split('\n')[0]} >
|
|
||||||
<section className="content wrap documentationContent nosidebar">
|
<section className="content wrap documentationContent nosidebar">
|
||||||
<div className="inner-content">
|
<div className="inner-content">
|
||||||
<Marked>{content}</Marked>
|
<Marked>{content}</Marked>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user