Made base.html into template