added a base template
correct template tags