nuxt-modules/robots

Add sitemap to robot.txt

iwatakeshi opened this issue · 4 comments

Hi,

I see a reference to the sitemap in the source code, but the docs doesn't show how to use it.

I've tried something like the following and it doesn't seem to work.

{
  robots: {
    sitemap: '...'
  }
}

Any clue?

Thanks

Hi @iwatakeshi, try with Sitemap instead of sitemap

{
  robots: {
    Sitemap: 'path/to/sitemap.xml'
  }
}

@iwatakeshi
I'll fix it to identify with sensitive case

@iwatakeshi
fixed case sensitive on v2.4.1

add on documentation