/ember-head

Fastboot-compatible component for rendering content into <head>

Primary LanguageJavaScriptMIT LicenseMIT

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