This commit is contained in:
parent
22f1b7a476
commit
22f5e4d213
@ -71,7 +71,7 @@ export const CreatedModifiedDate: QuartzTransformerPlugin<Partial<Options>> = (u
|
||||
}
|
||||
|
||||
try {
|
||||
modified ||= await repo.getFileLatestModifiedDateAsync(file.data.filePath!);
|
||||
modified ||= await repo.getFileLatestModifiedDateAsync(file.data.filePath!.replace(/^content\//, ''));
|
||||
} catch (error) {
|
||||
console.log(chalk.red(`Error retrieving latest modified date for ${file.data.filePath}: ${error.message}`));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user