Skip to content

Commit 910336a

Browse files
authored
Merge pull request #240 from linuxfoundation/feat/LFXV2-2855-og-image
feat: add shared Open Graph image across crowdfunding site
2 parents f3135c5 + f96cd28 commit 910336a

4 files changed

Lines changed: 197 additions & 255 deletions

File tree

frontend/app/pages/initiatives/[slug]/index.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const description = computed(() => {
3030
});
3131
const baseUrl = (config.public.appUrl as string).replace(/\/$/, '');
3232
const ogUrl = computed(() => `${baseUrl}/initiatives/${slug.value}`);
33-
const ogImage = computed(() => initiative.value?.logoUrl ?? `${baseUrl}/og-image.png`);
3433
3534
useHead({ title });
3635
useSeoMeta({
@@ -39,10 +38,10 @@ useSeoMeta({
3938
ogDescription: description,
4039
ogType: 'website',
4140
ogUrl,
42-
ogImage,
41+
// ogImage/twitterImage intentionally omitted — inherits the shared site-wide
42+
// image from setup/head.ts (LFXV2-2855: one OG image across the site).
4343
twitterCard: 'summary_large_image',
4444
twitterTitle: computed(() => `${title.value} | LFX Crowdfunding`),
4545
twitterDescription: description,
46-
twitterImage: ogImage,
4746
});
4847
</script>

0 commit comments

Comments
 (0)