PDA

View Full Version : Get CMD to include an ID attribute on the main CSS link



juger
26 Aug 2014, 12:33 PM
I'm trying to get CMD to automatically add an ID attribute to the main CSS reference `ProjectName-all.css' when 'build' is run so that I don't have to do it every time by hand. Is there a way to do this?

So I'd like the generated index.html file to have this entry after build


<link id="styleMainTag" rel="stylesheet" href="resources/ProjectName-all.css"/>

instead of just


<link rel="stylesheet" href="resources/ProjectName-all.css"/>

mitchellsimoens
4 Sep 2014, 7:43 AM
There is not a means to do this. May I ask why you need it? Replacing it?