File tree 4 files changed +10
-1
lines changed
4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf-8 ">
5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
- < meta name ="description " content ="">
7
6
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
7
9
8
{{content-for 'head'}}
Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ import Ember from 'ember';
2
2
import ajax from 'ic-ajax' ;
3
3
4
4
export default Ember . Route . extend ( {
5
+ headTags : [ {
6
+ type : 'meta' ,
7
+ attrs : {
8
+ name : 'description' ,
9
+ content : 'cargo is the package manager and crate host for rust'
10
+ }
11
+ } ] ,
5
12
model ( ) {
6
13
function addCrates ( store , crates ) {
7
14
for ( var i = 0 ; i < crates . length ; i ++ ) {
Original file line number Diff line number Diff line change
1
+ <title >{{ model.title }} </title >
2
+ {{ head-tags headTags =model.headTags }}
Original file line number Diff line number Diff line change 32
32
"ember-cli-ic-ajax" : " 1.0.0" ,
33
33
"ember-cli-inject-live-reload" : " ^1.4.0" ,
34
34
"ember-cli-jshint" : " ^1.0.0" ,
35
+ "ember-cli-meta-tags" : " ^2.0.2" ,
35
36
"ember-cli-mirage" : " 0.1.13" ,
36
37
"ember-cli-moment-shim" : " 2.0.0" ,
37
38
"ember-cli-qunit" : " 3.0.0" ,
You can’t perform that action at this time.
0 commit comments