Modifying all the templates from hardcoded html to using Django's template system