Rename index to app, update deps, tweak config

This commit is contained in:
Will Boyd
2025-03-07 10:52:21 -05:00
parent 6562b60b5c
commit 89b12cdd96
5 changed files with 20 additions and 23 deletions
+3 -3
View File
@@ -59,7 +59,7 @@ async function writeMarkdownFilesPromise(posts) {
destinationPath,
delay
};
delay += shared.config.markdownFileWriteDelay;
delay += shared.config.writeDelay;
return [payload];
}
});
@@ -90,7 +90,7 @@ async function loadMarkdownFilePromise(post) {
if (shared.config.dateFormat) {
outputValue = value.toFormat(shared.config.dateFormat);
} else {
outputValue = shared.config.includeTimeWithDate ? value.toISO() : value.toISODate();
outputValue = shared.config.includeTime ? value.toISO() : value.toISODate();
}
if (shared.config.quoteDate) {
@@ -138,7 +138,7 @@ async function writeImageFilesPromise(posts) {
destinationPath,
delay
};
delay += shared.config.imageFileRequestDelay;
delay += shared.config.requestDelay;
return [payload];
}
});