forked from tanner/qotnews
Add index / noindex to client
This commit is contained in:
parent
c80769def6
commit
04cd56daa8
|
@ -68,6 +68,7 @@ class Article extends React.Component {
|
||||||
<div className='article'>
|
<div className='article'>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<title>{story.title} - QotNews</title>
|
<title>{story.title} - QotNews</title>
|
||||||
|
<meta name="robots" content="noindex">
|
||||||
</Helmet>
|
</Helmet>
|
||||||
|
|
||||||
<h1>{story.title}</h1>
|
<h1>{story.title}</h1>
|
||||||
|
|
|
@ -53,6 +53,7 @@ class Feed extends React.Component {
|
||||||
<div className='container'>
|
<div className='container'>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<title>Feed - QotNews</title>
|
<title>Feed - QotNews</title>
|
||||||
|
<meta name="robots" content="index">
|
||||||
</Helmet>
|
</Helmet>
|
||||||
{error && <p>Connection error?</p>}
|
{error && <p>Connection error?</p>}
|
||||||
{stories ?
|
{stories ?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user