Sitemaps

Camaleon CMS comes already with sitemaps which by default renders all posts, post types, ... in all languages and it is available in the following url: http://localhost:3000/sitemap.xml

To customize this create this file: apps/themes/my_theme/sitemap.xml.builder and enter your customized code
note: my_theme means the name of your theme
The default template used for is: https://github.com/owen2345/camaleon-cms/blob/master/app/views/camaleon_cms/default_theme/sitemap.xml.builder

In your customization you can exclude posts like: current_site.the_posts.where.not(id: [10, 11, 12, ...])

Created at: 11 May 14:45 | Updated at: 11 May 14:45