Adds template rendering with the data