Begin template rendering