aboutsummaryrefslogtreecommitdiffstats
path: root/src/theme/BlogListPage.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/theme/BlogListPage.tsx')
-rw-r--r--src/theme/BlogListPage.tsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/theme/BlogListPage.tsx b/src/theme/BlogListPage.tsx
new file mode 100644
index 0000000..b8c7e01
--- /dev/null
+++ b/src/theme/BlogListPage.tsx
@@ -0,0 +1,18 @@
1/*
2 * SPDX-FileCopyrightText: 2024 Kristóf Marussy
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7import React from 'react';
8import type { Props } from '@theme/BlogListPage';
9import BlogListPage from '@theme-original/BlogListPage';
10
11import Landing from '@site/src/components/Landing';
12
13export default function BlogListPageWrapper(props: Props) {
14 if (props.metadata.permalink === '/') {
15 return <Landing {...props} />;
16 }
17 return <BlogListPage {...props} />;
18}