Fix static urls in main page template