template: add 'index' class to body