Merge pull request #1143 from sharelatex/robots-noindex

Add noindex, nofollow to editor pages (read/write and read only)

GitOrigin-RevId: b1bcd3c7203a0027d86aced3ea8371b077c4ac75
This commit is contained in:
Ersun Warncke 2018-11-09 19:30:16 -04:00 committed by sharelatex
parent 59a849d46e
commit efaa77dbd7
2 changed files with 4 additions and 0 deletions

View file

@ -44,6 +44,9 @@
//- Misc
meta(itemprop="name", content=settings.appName + ", the Online LaTeX Editor")
-if (metadata && metadata.robotsNoindexNofollow)
meta(name="robots" content="noindex, nofollow")
//- Twitter
meta(name="twitter:card", content=metadata && metadata.twitterCardType ? metadata.twitterCardType : 'summary')
-if (settings.social && settings.social.twitter && settings.social.twitter.handle)

View file

@ -4,6 +4,7 @@ block vars
- var suppressNavbar = true
- var suppressFooter = true
- var suppressSystemMessages = true
- metadata.robotsNoindexNofollow = true
block content
.editor(ng-controller="IdeController").full-size