Template.footer.helpers({ footerCode: function(){ return Settings.get('footerCode'); }, footerClass: function(){ return Session.get('isPostsList') ? 'absolute' : 'static'; }, footerModules: function () { return footerModules; }, getTemplate: function () { return getTemplate(this.template); } });