Simply adds <meta name="robots" content="noindex, nofollow">
to the <head>
of your index.html.
ember install ember-cli-noindex
You can opt-out of this per environment using the enabled
configuration option in your environment.js file:
if (environment === 'beta') {
ENV.noindex = {
enabled: false
}
}
By default, enabled === true
in all environments except production.
If you want the <meta>
tag added everywhere but production, you don't need any configuration; just install the addon and move on.
git clone <repository-url>
cd ember-cli-noindex
yarn install
yarn lint:js
yarn lint:js --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.