mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-29 22:47:52 +02:00
Add option to avoid indexing site (#142)
This commit is contained in:
parent
a26bba14c6
commit
768ed88978
3 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Head extends React.Component {
|
|||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content={this.props.url} />
|
||||
<meta property="og:description" content={this.props.description} />
|
||||
<meta name="robots" content="noindex" />
|
||||
{this.props.config.noIndex && <meta name="robots" content="noindex" />}
|
||||
{this.props.config.ogImage && (
|
||||
<meta
|
||||
property="og:image"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue