mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
update file format
remove newline at end of file
This commit is contained in:
@ -40,4 +40,4 @@ export default async function Page({ params }: { params: { page: string } }) {
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -74,4 +74,4 @@ const Page = async ({
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
export default Page;
|
||||
|
@ -77,4 +77,4 @@ export const allPostsPath = async () => {
|
||||
export const readSinglePost = async (slug: string) => {
|
||||
const filename = path.join(`${dataPath}/${slug}.mdx`);
|
||||
return await fs.readFile(filename, { encoding: 'utf-8' });
|
||||
};
|
||||
};
|
||||
|
@ -64,4 +64,4 @@
|
||||
"tailwindcss": "^3.3.2",
|
||||
"typescript": "5.0.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user