I am using ember js. How do I load a css style sheet from a handlebars js template
For example this doesn't work
<script type="text/x-handlebars" id="about">
<link rel="stylesheet" href="/static/css/about.css"}}
// HTML CONTENT
.......
</script>
linktags should always be placed in theheadof the DOM (per W3C recommendation). If you need to split apart your stylesheet, I suggest using controllers to trigger view methods that manage the stylesheets. I can see the appeal of just putting a stylesheet into a hbs template, but it may produce unwanted effects for some of your visitors.