global nofollow meta tag

This commit is contained in:
Thibault Duplessis 2016-09-26 17:23:44 +02:00
parent 7c9948bbcd
commit f7c5d8643b
2 changed files with 2 additions and 1 deletions

View file

@ -46,6 +46,7 @@ object Environment
def netDomain = apiEnv.Net.Domain
def netBaseUrl = apiEnv.Net.BaseUrl
val isGloballyCrawlable = apiEnv.Net.Crawlable
def isProd = apiEnv.isProd

View file

@ -6,7 +6,7 @@ side: Option[Html] = None,
menu: Option[Html] = None,
chat: Option[Html] = None,
underchat: Option[Html] = None,
robots: Boolean = true,
robots: Boolean = isGloballyCrawlable,
moreCss: Html = Html(""),
moreJs: Html = Html(""),
zen: Boolean = false,