Skip to content

Commit 69b4123

Browse files
committed
Update sitemap.rb
1 parent d6c4a64 commit 69b4123

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

config/sitemap.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
]
77

88
# Global index
9-
SitemapGenerator::Sitemap.adapter = SitemapGenerator::FileAdapter.new(
10-
:path => 'public/',
11-
:filename => 'sitemap.xml'
12-
)
13-
SitemapGenerator::Sitemap.create_index = true
9+
SitemapGenerator::Sitemap.adapter = SitemapGenerator::FileAdapter.new
10+
SitemapGenerator::Sitemap.filename = 'sitemap.xml'
11+
SitemapGenerator::Sitemap.create_index = true
1412

1513
# Top-level pages
1614
SitemapGenerator::Sitemap.namer = SitemapGenerator::SimpleNamer.new(:pages)

0 commit comments

Comments
 (0)