1.0.0 • Published 2 years ago

ember-head v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

ember-head

This addon gives you a component for rendering content into <head>. It works in both the browser and in fastboot. This makes it ideal for things like Opengraph and Twitter Cards.

{{#in-head}}
  <meta property="og:title" content="Babies">
  <meta property="og:description" content="Learn the shocking truth.">
  <meta property="og:image" content="https://example.com/example.jpg">
{{/in-head}}

You can put the above into any template, and as long as it stays rendered, the content will stay in the <head>.

Installation

ember install ember-head