0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-21 20:38:37 +00:00

Added robots.txt, nofollow in metatags

Also noindex on /print/ pages
This commit is contained in:
Trevor Buckner
2020-04-20 13:46:18 -04:00
parent bdf37d8fe7
commit e88253f364
6 changed files with 19 additions and 7 deletions

View File

@@ -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>;
}