added inline() for direct rendering of templates