def METHOD_NAME(base_url: str, file: str):
    yml_data = get_front_matter_data(file)
    name = yml_data.get('title') or file
    relative_path = os.path.relpath(file, ROOT_DIR)
    path = f'{base_url}/{os.path.dirname(relative_path)}/{yml_data["id"]}'
    return (name, path)