jekyll / jekyll-sitemap

Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site
http://rubygems.org/gems/jekyll-sitemap
MIT License
949 stars 134 forks source link

default sitemap: false not working for posts #313

Closed berthelemy closed 2 months ago

berthelemy commented 2 months ago

I have several collections, including "posts" which I'm trying to exclude from the sitemap.

Here's the config.yml:

` defaults:

scope:
  path: "" # an empty string here means all files in the project
  type: "posts"
values:
  sitemap: false

`

But I'm still getting posts in the sitemap.

I'm guessing I'm doing something wrong?

Thanks,

Mark

berthelemy commented 2 months ago

It was my config.yml file. All sorted now.