From 59311fe464aca09077e0e7137ddcab8f7631f9e2 Mon Sep 17 00:00:00 2001 From: akankshagoel28 Date: Thu, 10 Oct 2024 11:06:59 +0530 Subject: [PATCH] added the og tag --- src/app/layout.jsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/app/layout.jsx b/src/app/layout.jsx index ad7a2e4..0007358 100644 --- a/src/app/layout.jsx +++ b/src/app/layout.jsx @@ -14,16 +14,20 @@ const geistMono = localFont({ variable: "--font-geist-mono", weight: "100 900", }); - export const metadata = { - title: "DearDiary", + title: { + template: '%s | Dear Diary', + default: 'Dear Diary', + }, description: "A Digital Diary for the future", icons: { - icon: "../../public/favicon/favicon.ico", - apple: "../../public/apple-touch-icon.png", - shortcut: "../../public/apple-touch-icon.png" - } -} + icon: "/favicon/favicon/favicon/favicon.ico?v=4", + apple: "/favicon/favicon/apple-touch-icon.png?v=4", + shortcut: "/favicon/favicon/apple-touch-icon.png" + }, + metadataBase: new URL('https://dear-diary-black.vercel.app/'), + +}; export default function RootLayout({ children }) { return (