harlan-zw / nuxt-seo

The complete SEO solution for Nuxt.
https://nuxtseo.com
MIT License
1.09k stars 70 forks source link

`discoverVideos` config #317

Closed codeflorist closed 2 months ago

codeflorist commented 2 months ago

Clear and concise description of the problem

Auto-discovery of images can be turned off via discoverImages: false in the config.

The same is not possible for videos.

Suggested solution

Add a discoverVideos: false config parameter.

Alternative

No response

Additional context

No response

harlan-zw commented 2 months ago

Hi, thanks for the issue. This option actually does already exist but it missing documentation.

I've pushed some improvements to the docs.

export default defineNuxtConfig({
  sitemap: {
    discoverVideos: false,
  }
})