diff --git a/src/app/(pages)/[id]/page.tsx b/src/app/(pages)/[id]/page.tsx index 034ac26..1cb9d2c 100644 --- a/src/app/(pages)/[id]/page.tsx +++ b/src/app/(pages)/[id]/page.tsx @@ -3,7 +3,7 @@ import { ActionMenu } from "@/app/components/action-menu"; import { Metadata } from "next"; import moment from "moment"; import { notFound } from "next/navigation"; -import { CodeBlock } from "@/app/components/codeBlock"; +import { CodeBlock } from "@/app/components/code-block"; import { detectLanguage } from "@/app/common/lang-detection/detection"; type PasteProps = { @@ -61,7 +61,7 @@ export async function generateMetadata({ } return { - title: `Paste - ${id}`, + title: `Paste - ${id}.${data.language}`, description: `Created: ${moment(data.created)}\n\nClick to view the paste.`, }; } @@ -83,7 +83,7 @@ export default async function Paste({