fix: icons

This commit is contained in:
2026-03-13 11:53:41 +08:00
parent 9e8d4e6388
commit 97923c8d35
6 changed files with 20 additions and 14 deletions
+2
View File
@@ -71,6 +71,7 @@ export async function loadCSV<T = Record<string, string>>(path: string): Promise
Object.assign(each, frontmatter);
}
}
csvResult.sourcePath = path;
csvCache.set(path, result);
return csvResult;
@@ -82,6 +83,7 @@ interface JSONObject extends Record<string, JSONData> {}
export type CSV<T> = T[] & {
frontmatter?: JSONObject;
sourcePath: string;
}
export function processVariables<T extends JSONObject> (body: string, currentRow: T, csv: CSV<T>, filtered?: T[], remix?: boolean): string {