From f253a23efcb81fdaa4f4d50f4649d3f07688da32 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 18 Feb 2025 22:42:57 +0100 Subject: [PATCH] Update --- web/app/layout.tsx | 2 +- web/app/metadata.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) 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",