ember-cli-inject-head
v2.0.8
Published
Inject head tags on build
Downloads
6
Readme
ember-cli-inject-head
A way to inject all meta tags and extra scripts into head tags that can be preprocessed with handlebars
Installation
ember install ember-cli-inject-head
Usage
Options
"inject-head": {
"template": "app/templates/head.hbs",
"context": {
"title": "Example Title",
"description": "Example Description"
}
}
Sample Template
<meta charset="utf-8">
<title name="title">{{title}}</title>
<meta name="description" content="{{description}}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.