We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6c4a64 commit 69b4123Copy full SHA for 69b4123
1 file changed
config/sitemap.rb
@@ -6,11 +6,9 @@
6
]
7
8
# Global index
9
-SitemapGenerator::Sitemap.adapter = SitemapGenerator::FileAdapter.new(
10
- :path => 'public/',
11
- :filename => 'sitemap.xml'
12
-)
13
-SitemapGenerator::Sitemap.create_index = true
+SitemapGenerator::Sitemap.adapter = SitemapGenerator::FileAdapter.new
+SitemapGenerator::Sitemap.filename = 'sitemap.xml'
+SitemapGenerator::Sitemap.create_index = true
14
15
# Top-level pages
16
SitemapGenerator::Sitemap.namer = SitemapGenerator::SimpleNamer.new(:pages)
0 commit comments