Rename some exports

This commit is contained in:
2022-10-20 22:11:17 +02:00
parent e17bd61579
commit 5a8df80c36
3 changed files with 6 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import Layout from "../../../../components/Blog/Layout";
import { generateContent, getContentList, prepareDOM } from "../../../../lib/content/generateBackend";
import type { ContentList, Diary, DiaryRender } from "../../../../lib/content/types";
const DiaryMain: NextPage<{ content: DiaryRender }> = ({ content }) => {
const DiaryPage: NextPage<{ content: DiaryRender }> = ({ content }) => {
return <Layout title={`${content.entries[content.pageSelected - 1].title} - ${content.title} - c0ntroller.de`}>
<ContentPage content={content} />
</Layout>;
@ -32,4 +32,4 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
};
};
export default DiaryMain;
export default DiaryPage;