Commit 616f54b4 by Arjun Jhukal

updated the minor chnge

parent f7517e66
...@@ -27,7 +27,7 @@ export async function generateMetadata(): Promise<Metadata> { ...@@ -27,7 +27,7 @@ export async function generateMetadata(): Promise<Metadata> {
description: seoData?.data?.site_description || seoData?.data?.site_description || metadata.description, description: seoData?.data?.site_description || seoData?.data?.site_description || metadata.description,
images: seoData?.data?.logo ? [seoData.logo] : ["/assets/images/logo.png"], images: seoData?.data?.logo ? [seoData.logo] : ["/assets/images/logo.png"],
}, },
icons: seoData?.favicon || metadata.icons, icons: seoData?.data?.favicon || metadata.icons,
}; };
} catch (error) { } catch (error) {
console.error("SEO metadata fetch failed:", error); console.error("SEO metadata fetch failed:", error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment