Files
wordpress-export-to-markdown/src/settings.js
T

29 lines
1.0 KiB
JavaScript
Raw Normal View History

2024-02-23 12:53:58 -05:00
exports.frontmatter_fields = [
'title',
'date',
'categories',
'tags',
'coverImage'
];
2020-04-11 10:10:01 -04:00
// time in ms to wait between requesting image files
// increase this if you see timeouts or server errors
exports.image_file_request_delay = 500;
// time in ms to wait between saving Markdown files
// increase this if your file system becomes overloaded
exports.markdown_file_write_delay = 25;
// enable this to include time with post dates
// for example, "2020-12-25" would become "2020-12-25T11:20:35.000Z"
exports.include_time_with_date = false;
// override post date formatting with a custom formatting string (for example: 'yyyy LLL dd')
2024-02-20 13:16:19 -05:00
// tokens are documented here: https://moment.github.io/luxon/#/parsing?id=table-of-tokens
// if set, this takes precedence over include_time_with_date
exports.custom_date_formatting = '';
// categories to be excluded from post frontmatter
// this does not filter out posts themselves, just the categories listed in their frontmatter
exports.filter_categories = ['uncategorized'];