From 9191fb5642e0e73af3fe79beb1e0cf556e508cb0 Mon Sep 17 00:00:00 2001 From: dev sp Date: Tue, 16 Jan 2024 12:52:15 +0000 Subject: [PATCH] done og image issue in facebook shares --- src/layouts/LayoutBN.astro | 7 +++---- src/pages/[id].astro | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/layouts/LayoutBN.astro b/src/layouts/LayoutBN.astro index ffd9c5c..dc3153d 100644 --- a/src/layouts/LayoutBN.astro +++ b/src/layouts/LayoutBN.astro @@ -1,6 +1,5 @@ --- import MainHeaderBN from '../components/MainHeaderBN.astro'; -import TopHeader from '../components/TopHeader.astro'; import Footer from '../components/Footer.astro'; export interface Props { title: string; metaTitle: string; description: string; ogImg: string; tiwtterCard: string; tiwtterImage: string; tiwtterTitle: string; tiwtterDesc: string; tiwtterURL: string; artPubTime: string; artUpdtTime: string; ogSiteName: string; ogType: string; ogTitle: string; ogDesc: string; ogURL: string; canonical: string; @@ -15,8 +14,8 @@ const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtter - + {title} @@ -37,7 +36,7 @@ const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtter - -->
diff --git a/src/pages/[id].astro b/src/pages/[id].astro index c5c9195..4133938 100644 --- a/src/pages/[id].astro +++ b/src/pages/[id].astro @@ -44,7 +44,7 @@ const items = data.data[idx];

Share on:

WhatsApp Logo - Facebook Logo + Facebook Logo Twitter/X Logo Linkdin Logo