Page title management for Ember.js Apps
Add a front
argument to place the title at the front
Update dependencies
🚨 prepend
is now true
by default!
❤️ Thanks to @ondrejsevcik for this change! For reasoning behind this, I'll quote them directly:
With a limited space to show in a page title, it's a best practice to put current page title first. Otherwise you end up with a title where you can't clearly see what page are you in. This is especially issue when you have nested pages with long titles.
Fixes using ember-page-title in engines so the page title isn't removed multiple times (#1170)
🎉 kudos to @mydea for fixing this
Remove addon-docs
and ember-engines
as optionalDependencies
.
This release contains a breaking change due to a downstream dependency on ember-cli-head
. ember-cli-head
is now at 0.4.0 and requires an addition to your application.hbs
:
{{head-layout}}
Add this to your application template and things should continue working.
Thanks to @topaxi and @cibernox for getting some of this resolved for me 😄
ember-page-title
is compatible with ember-fastboot
1.0.0! 🎉
Many thanks to @buschtoens for getting this done, and @simonihmig for the work done upstream in ember-cli-head
.
tldr; You can now use {{title}}
in addons