mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Rename post folder name
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user