rename content/post to content/posts

This commit is contained in:
Vaica committed 2026-06-02 15:37:49 +08:00
1 parent cda4dbb24b
commit bcd4bc9282
866 files changed
+43 -25

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const matter = require('gray-matter');
const postsDir = path.resolve(__dirname, '../content/post');
const postsDir = path.resolve(__dirname, '../content/posts');
function formatDate(date) {
if (!date) return null;