Support base_href and base_path in order to allow custom build