Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ const handleInput = isTouchDevice()

useSeoMeta({
title: () => $t('seo.home.title'),
ogTitle: () => $t('seo.home.title'),
twitterTitle: () => $t('seo.home.title'),
twitterCard: 'summary_large_image',
description: () => $t('seo.home.description'),
ogDescription: () => $t('seo.home.description'),
twitterDescription: () => $t('seo.home.description'),
Comment on lines +39 to +44
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should probably be done on all pages, but we can merge this to test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's what I was thinking too, and I'll continue to improve it. Since summary_large_image has remained unchanged, should we consider putting it into the nuxt.config.ts app configuration?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works very well!

image

})

defineOgImageComponent('Default', {
Expand Down
1 change: 1 addition & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ Allow: /$
Allow: /about$
Allow: /search$
Allow: /settings$
Allow: /__og-image__/*
Disallow: /
Loading