Usage of initializer
Please add to the documentation the following:
In some certain cases, you can customize the sitemap parameters by adding and initializer like:
- enabled: allows you to enable / disable certain sitemaps links
- changefreq: allows you to customize the interval of the files being indexed
- priority: allows you to change the link priority
- scopes: allows you to customize the document finding query
Decidim::Sitemaps.configure do |config|
config.users = { enabled: false, changefreq: "daily", priority: 0.5 }
config.proposals = { enabled: true, changefreq: "daily", priority: 0.5, scopes: [:published] }
end