Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions

Conditional comments & require


Reply

321 Views

Avatar
thany

25 January 2014 at 3:06am (Last edited: 25 January 2014 3:07am), Community Member, 6 Posts

When I use the require tag in a template, all that is required, is inserted at the bottom, instead of at the position of the require. This is not what I want, first of all. Secondly and more importantly, this goes wrong when including css in a conditional comment, like so:

<!--[if lt IE 9]>
<% require themedCSS("ie8") %>
<![endif]-->

What should I do to get css at the position of the require, while still maintaining the version/filedate/hash (whatever it is) in the querystring for a css file?