mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 21:02:43 +00:00
Added robots.txt, nofollow in metatags
Also noindex on /print/ pages
This commit is contained in:
@@ -203,7 +203,7 @@ const EditPage = createClass({
|
||||
|
||||
render : function(){
|
||||
return <div className='editPage page'>
|
||||
<Meta name="robots" content="noindex" />
|
||||
<Meta name='robots' content='noindex, nofollow' />
|
||||
{this.renderNavbar()}
|
||||
|
||||
<div className='content'>
|
||||
|
||||
@@ -73,7 +73,7 @@ const HomePage = createClass({
|
||||
|
||||
render : function(){
|
||||
return <div className='homePage page'>
|
||||
<Meta name="google-site-verification" content="NwnAQSSJZzAT7N-p5MY6ydQ7Njm67dtbu73ZSyE5Fy4" />
|
||||
<Meta name='google-site-verification' content='NwnAQSSJZzAT7N-p5MY6ydQ7Njm67dtbu73ZSyE5Fy4' />
|
||||
{this.renderNavbar()}
|
||||
|
||||
<div className='content'>
|
||||
|
||||
@@ -2,6 +2,7 @@ const React = require('react');
|
||||
const createClass = require('create-react-class');
|
||||
const _ = require('lodash');
|
||||
const cx = require('classnames');
|
||||
const Meta = require('vitreum/meta');
|
||||
const Markdown = require('naturalcrit/markdown.js');
|
||||
|
||||
const PrintPage = createClass({
|
||||
@@ -42,6 +43,7 @@ const PrintPage = createClass({
|
||||
|
||||
render : function(){
|
||||
return <div>
|
||||
<Meta name='robots' content='noindex, nofollow' />
|
||||
{this.renderPages()}
|
||||
</div>;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ const SharePage = createClass({
|
||||
|
||||
render : function(){
|
||||
return <div className='sharePage page'>
|
||||
<Meta name="robots" content="noindex" />
|
||||
<Meta name='robots' content='noindex, nofollow' />
|
||||
<Navbar>
|
||||
<Nav.section>
|
||||
<Nav.item className='brewTitle'>{this.props.brew.title}</Nav.item>
|
||||
|
||||
Reference in New Issue
Block a user