rename content/post to content/posts
This commit is contained in:
1 parent
43d3e3a4f8
commit
1cae1da5ec
866 files changed
+43
-25
No files matched your search
@@ -2,7 +2,7 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const matter = require('gray-matter');
|
||||
|
||||
const POSTS_DIR = path.join(__dirname, '../content/post');
|
||||
const POSTS_DIR = path.join(__dirname, '../content/posts');
|
||||
|
||||
function parseDateFlexible(input) {
|
||||
if (input instanceof Date) return Number.isNaN(input.getTime()) ? null : input;
|
||||
|
||||
Reference in new issue
Block a user