...
Configuring the sitemap module
Code Block | ||
---|---|---|
| ||
.UseModule<Sitemap>((Func<Type, bool>)(t => t != typeof(User)), (Func<Summary, bool>)(s => true))) |
The Sitemap module has the following settings as in the example above:
- IsInSitemap: this function from a Summary to a bool returns true if the summary should be in the sitemap
- TypeInSitemap: this function from a Type to a bool returns true if the content type should be in the sitemap
...