Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
a simple example of sitemap_generator in a rails application
SitemapGenerator::Sitemap.default_host = "https://your-domain.com"
SitemapGenerator::Sitemap.create do
add blog_index_path
add new_visitor_inquiry_path
add services_path
add about_index_path
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment