Add index / noindex to client

This commit is contained in:
Tanner Collin 2022-06-29 23:30:39 +00:00
parent c80769def6
commit 04cd56daa8
2 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,7 @@ class Article extends React.Component {
<div className='article'>
<Helmet>
<title>{story.title} - QotNews</title>
<meta name="robots" content="noindex">
</Helmet>
<h1>{story.title}</h1>

View File

@ -53,6 +53,7 @@ class Feed extends React.Component {
<div className='container'>
<Helmet>
<title>Feed - QotNews</title>
<meta name="robots" content="index">
</Helmet>
{error && <p>Connection error?</p>}
{stories ?