rename content/post to content/posts

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

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
const fs = require('fs');
const path = require('path');
const CONTENT_DIR = path.join(__dirname, '../content/post');
const CONTENT_DIR = path.join(__dirname, '../content/posts');
async function processDirectory(dir) {
const entries = fs.readdirSync(dir, { withFileTypes: true });