Should handle the case where `base_url` is not in the html theme options or is empty, `if app.config['html_theme_options'].get('base_url', '')`