Skip to content

Commit dcd81b0

Browse files
RYGRITdanielroe
andauthored
fix: explicit seo meta tags for social cards (#845)
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent c035a32 commit dcd81b0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/pages/index.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ const handleInput = isTouchDevice()
3636
3737
useSeoMeta({
3838
title: () => $t('seo.home.title'),
39+
ogTitle: () => $t('seo.home.title'),
40+
twitterTitle: () => $t('seo.home.title'),
41+
twitterCard: 'summary_large_image',
3942
description: () => $t('seo.home.description'),
43+
ogDescription: () => $t('seo.home.description'),
44+
twitterDescription: () => $t('seo.home.description'),
4045
})
4146
4247
defineOgImageComponent('Default', {

public/robots.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ Allow: /$
44
Allow: /about$
55
Allow: /search$
66
Allow: /settings$
7+
Allow: /__og-image__/*
78
Disallow: /

0 commit comments

Comments
 (0)