handling templates in grunt build