ember-cli-inject-head

2.0.8 • Public • Published

Ember Observer Score Build Status Coverage Status NPM Version NPM Downloads Dependency Status DevDependency Status Greenkeeper

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.

Package Sidebar

Install

npm i ember-cli-inject-head

Weekly Downloads

5

Version

2.0.8

License

MIT

Unpacked Size

7.73 kB

Total Files

6

Last publish

Collaborators

  • devotox