def format_image_url_filter(ctx: Context, value: str) -> str:
    return ctx.get("root_url", "") + "/images" + value
def format_url_filter(ctx: Context, value: str) -> str:
    return (
        ctx.get("root_url", "")
        + value
        + ("/index.html" if ctx.get("is_export") else "")
    )