Problem BlazeLayout with AdminLTE body class!

I would like to add <body class="hold-transition skin-blue sidebar-mini"> to BlazeLayout, but don’t work.

// Main Layout
<template name="AdminLTELayout">
   <body class="hold-transition skin-blue sidebar-mini">

// Flow Router
FlowRouter.route('/', {
    name: 'home',
    title: 'Home',
    action: function (params, queryParams) {
        BlazeLayout.render('AdminLTELayout', {content:'Home'});

Please help me.

You can’t use body tags in a template. The template must always go into body.

If you want to modify classes you’ll have to do that in either your action or onRendered function.

Template.AdminLTELayout.onRendered(function() {
  $('body').addClass('hold-transition'); //etc

And so on. You’ll also want to clean them up on the onDestroyed function of your template.

Thanks for your helping.