You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,6 @@ This addon provides a helper for changing the title of the page you're on.
8
8
ember install ember-page-title
9
9
```
10
10
11
-
Add `{{head-layout}}` to your application's `application.hbs` template.
12
-
13
11
<details>
14
12
<summary>Fastboot vs Non-Fastboot Notes</summary>
15
13
@@ -60,21 +58,15 @@ module.exports = function (environment) {
60
58
};
61
59
```
62
60
63
-
### Fastboot
64
-
65
-
When working with other addons that use `ember-cli-head`, you'll need to create a custom `head.hbs` file that exposes the `<title>` tag properly:
66
-
67
-
```hbs
68
-
<title>{{model.title}}</title>
69
-
```
70
-
71
-
This file is added automatically if you use `ember install`. This is for all the folks using ember-cli-head addons like ember-cli-meta-tags.
72
-
73
61
### Deprecations
74
62
75
63
- Since **v5.2.2**: The `{{title}}` helper has been deprecated, use `{{page-title}}` instead, it has the same API. The
76
64
`{{title}}` helper was an AST transform and will be removed in the next major release.
77
65
66
+
### Upgrading notes for 5.x to 6.x
67
+
68
+
From 6.x onward, you don't need to have `{{head-layout}}` within your application's `application.hbs` template. If you have `ember-cli-head` as direct dependency on your project, but not used for anything else you can also remove it.
69
+
78
70
### Upgrading notes for 3.x to 4.x
79
71
80
72
From 4.x onward, you need to have `{{head-layout}}` within your application's `application.hbs` template. Without this, you will not see a page title appear.
0 commit comments