Skip to content

Commit cffce14

Browse files
committed
Revert "Migrate HeadContent component"
This reverts commit ec94519.
1 parent fadc0bf commit cffce14

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

addon/components/head-layout.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{{#in-element this.headElement insertBefore=null}}
22
{{! template-lint-disable no-forbidden-elements }}
3-
<meta name="ember-cli-head-start" content=""><Head /><meta name="ember-cli-head-end" content="">
3+
<meta name="ember-cli-head-start" content=""><HeadContent/><meta name="ember-cli-head-end" content="">
44
{{/in-element}}

app/components/head-content.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { inject } from '@ember/service';
2+
import Component from '@ember/component';
3+
import layout from '../templates/head';
4+
5+
export default Component.extend({
6+
tagName: '',
7+
model: inject('head-data'),
8+
layout,
9+
});

app/components/head.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)