To add dynamic class for body tag i used:
<body class="{{bodyClass}}"><!-- this remains uncompiled -->
{{bodyClass}} <!-- this renders to "blue" -->
</body>
and helper code:
Template.body.helpers({
bodyClass: function(){
retu 'blue';
}
});
As result {{bodyClass}} Inside body content is compiled to blue as expected, but the <body class="{{bodyClass}}"> remains uncompiled.
[edit] Ps. I'm using lates meteor 1.3
