Rename post folder name

This commit is contained in:
DefectingCat
2022-12-16 08:53:21 +08:00
parent d899e211a5
commit e5466c43da
32 changed files with 18 additions and 18 deletions

View File

@ -4,7 +4,7 @@ import matter from 'gray-matter';
import { MyMatters, Post } from 'types';
import { sortByDate } from 'lib/utils';
export const dataPath = 'data/posts';
export const dataPath = 'content/posts';
/**
* Read post meta info with gray-matter.