Follow template name/location Flask-compatible refactor.