Fix main_django template for SAS Theming