convert index file to jade