Rendering templates on frontend