mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-16 05:03:38 +09:00
Fix date stuff in path building
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ async function loadImageFilePromise(imageUrl, config) {
|
||||
function buildPostPath(post, config) {
|
||||
const outputDir = config.output;
|
||||
const type = post.meta.type;
|
||||
const date = post.frontmatter.date;
|
||||
const date = post.meta.date;
|
||||
const slug = post.meta.slug;
|
||||
|
||||
return shared.buildPostPath(outputDir, type, date, slug, config);
|
||||
|
||||
Reference in New Issue
Block a user