Skip to content

Commit

Permalink
Merge d861cdf into dbc469a
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 13, 2019
2 parents dbc469a + d861cdf commit bcd80e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blueprints/app/files/app/index.html
Expand Up @@ -10,15 +10,15 @@
{{content-for "head"}}

<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/<%= name %>.css">
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/{{asset-name}}.css">

{{content-for "head-footer"}}
</head>
<body>
{{content-for "body"}}

<script src="{{rootURL}}assets/vendor.js"></script>
<script src="{{rootURL}}assets/<%= name %>.js"></script>
<script src="{{rootURL}}assets/{{asset-name}}.js"></script>

{{content-for "body-footer"}}
</body>
Expand Down
6 changes: 6 additions & 0 deletions lib/utilities/ember-app-utils.js
Expand Up @@ -190,6 +190,12 @@ function configReplacePatterns(options) {
return config.modulePrefix;
},
},
{
match: /{{\s?asset-name\s?}}/g,
replacement(config) {
return config.APP.name;
},
},
];
}

Expand Down

0 comments on commit bcd80e8

Please sign in to comment.