не индексировать xxx страницы

This commit is contained in:
Alexey Kasyanchuk
2017-01-30 08:59:49 +03:00
parent 597b914bb6
commit 8a64bef852

View File

@ -162,6 +162,9 @@ export default class TorrentPage extends Page {
if(data) { if(data) {
this.torrent = data this.torrent = data
this.setTitle(this.torrent.name + ' - RatsOnTheBoat.org'); this.setTitle(this.torrent.name + ' - RatsOnTheBoat.org');
if(this.torrent.contentCategory == 'xxx') {
this.setMetaTag('robots', 'noindex');
}
//this.forceUpdate(); // вызывается через searchingIndicator //this.forceUpdate(); // вызывается через searchingIndicator
// Получаем более новую статистику пира // Получаем более новую статистику пира