Created
February 3, 2021 13:48
-
-
Save donrestarone/863f2a270f56716e96082a61e043bff5 to your computer and use it in GitHub Desktop.
a simple example of sitemap_generator in a rails application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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