Add noindex, nofollow to editor pages (read/write and read only) GitOrigin-RevId: b1bcd3c7203a0027d86aced3ea8371b077c4ac75
@@ -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