modification of handlebars logic in index file