mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
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:
parent
59a849d46e
commit
efaa77dbd7
2 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue