angular-cn/aio/src
Pete Bacon Darwin 88045a5050 feat(aio): update metatags to control search engine crawling (#21665)
The `<meta name="robots" content="noindex">` tag is used
to indicate to search engine crawlers that they should not index
the current page. This is set dynamically by the the document
viewer component to ensure that 404 and other erroring pages
are not added to the search index.

This relies upon the idea that the crawling bot will run the JS
and wait to see if this meta tag has been added or not.

Since we believe that the `googebot` will do this, we also
pre-emptively add a hard-coded noindex tag specifically for
this bot, so that if anything else fails in bootstrapping the app,
the failed page will not be added to the index.

Closes #21317

PR Close #21665
2018-01-19 20:30:02 -08:00
..
app feat(aio): update metatags to control search engine crawling (#21665) 2018-01-19 20:30:02 -08:00
assets refactor(aio): move content-specific images to `content/images/` 2017-07-28 15:06:49 -07:00
environments ci(aio): compute AIO deployment mode 2017-08-04 09:13:34 -07:00
extra-files ci(aio): fix deploying the stable branch to Firebase 2017-08-09 14:18:33 -07:00
styles feat(aio): implement survey notification link (#21371) 2018-01-12 10:05:13 -08:00
testing feat(aio): update metatags to control search engine crawling (#21665) 2018-01-19 20:30:02 -08:00
favicon.ico build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
google385281288605d160.html build(aio): add google webmaster tools verification file 2017-05-26 01:25:58 -07:00
ie-polyfills.js fix(aio): add missing WeakMap polyfill 2017-06-23 09:03:07 -07:00
index.html feat(aio): update metatags to control search engine crawling (#21665) 2018-01-19 20:30:02 -08:00
main.ts fix(aio): only register ServiceWorker in production mode 2017-05-12 14:17:27 +01:00
noop-worker-basic.js feat(aio): provide noop service worker file 2017-05-26 14:24:41 +01:00
polyfills.ts fix(aio): support IE via conditionally loaded polyfills 2017-05-19 11:26:29 +01:00
pwa-manifest.json feat(aio): add iphone pwa features 2017-06-15 07:47:49 +01:00
styles.scss style(aio): tidy up SCSS files 2017-03-13 12:55:11 -07:00
test.ts build(aio): revert to clean CLI test.ts file (#19702) 2017-11-01 15:24:44 -07:00
tsconfig.app.json build(aio): turn off preserveWhitespaces in compiler options (#19702) 2017-11-01 15:24:43 -07:00
tsconfig.spec.json build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
typings.d.ts build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00