convert index page to jade