diff --git a/web/app/layout.tsx b/web/app/layout.tsx index e2f80d0..9432df8 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -13,7 +13,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }) return ( - {typeof metadata.title === "string" ? metadata.title : (metadata.title?.default ?? "ProxMenux")} + {metadata.title} diff --git a/web/app/metadata.ts b/web/app/metadata.ts index a934d3a..1499c93 100644 --- a/web/app/metadata.ts +++ b/web/app/metadata.ts @@ -5,10 +5,8 @@ import type { Metadata } from 'next' const description = "A menu-driven script for Proxmox VE management, designed to simplify and streamline the execution of commands and tasks." export const metadata: Metadata = { - title: { - default: "ProxMenux", - template: "%s | ProxMenux", - }, + + title: "ProxMenux", description, generator: "Next.js", applicationName: "ProxMenux",