mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-11 18:56:14 +09:00
Documentation and output for custom post types
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ async function writeMarkdownFilesPromise(posts, config ) {
|
||||
// package up posts into payloads
|
||||
const payloads = posts.map((post, index) => ({
|
||||
item: post,
|
||||
name: post.meta.slug,
|
||||
name: (config.includeOtherTypes ? post.meta.type + ' - ' : '') + post.meta.slug,
|
||||
destinationPath: getPostPath(post, config),
|
||||
delay: index * settings.markdown_file_write_delay
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user