diff --git a/src/app/blog/layout.tsx b/src/app/blog/layout.tsx index 654ab28d..faa29fde 100644 --- a/src/app/blog/layout.tsx +++ b/src/app/blog/layout.tsx @@ -1,20 +1,3 @@ -import type { Metadata } from 'next' - -export const metadata: Metadata = { - title: 'Blog', - description: - 'My personal posts and thoughts about all kind of stuff that I like. Main philosophic and technical text.', - keywords: [ - 'blog', - 'thoughts', - 'texts', - 'technical', - 'tutorials', - 'posts', - 'phisolophy' - ] -} - export default function BlogLayout({ children }: { diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index a9e98a41..78f7df64 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -1,4 +1,5 @@ import React from 'react' +import { type Metadata } from 'next' import Link, { LinkProps } from 'next/link' import { allPosts } from 'contentlayer/generated' @@ -13,6 +14,21 @@ import { getSortedPosts } from '@/shared/lib/get-sorted-posts' import { PostList } from '@/shared/components/post-list' import { Title } from '@/shared/components/title' +export const metadata: Metadata = { + title: 'Blog', + description: + 'My personal posts and thoughts about all kind of stuff that I like. Main philosophic and technical text.', + keywords: [ + 'blog', + 'thoughts', + 'texts', + 'technical', + 'tutorials', + 'posts', + 'phisolophy' + ] +} + type TopLinkProps = { Icon: PhosphorIcon title: string