mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Add fetch post list
* add gray-matter
This commit is contained in:
@ -9,3 +9,13 @@ export type NextPageWithLayout = {
|
||||
export type AppPropsWithLayout = AppProps & {
|
||||
Component: NextPageWithLayout;
|
||||
};
|
||||
|
||||
export interface MyMatters {
|
||||
title: string;
|
||||
date: string;
|
||||
tags: string;
|
||||
}
|
||||
|
||||
export interface Post extends MyMatters {
|
||||
slug: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user