sitemap gen index missing a char

This commit is contained in:
Kyle Drake 2019-10-08 21:15:08 -07:00
parent 6d74434e9a
commit 8c24b9831c

View file

@ -547,7 +547,7 @@ task :generate_sitemap => [:environment] do
xml.sitemapindex(xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9') {
sorted_sites.keys.sort.each { |key|
xml.sitemap {
xml.loc "https://neocities.org/sitemap/index-#{key}.xm"
xml.loc "https://neocities.org/sitemap/index-#{key}.xml"
xml.lastmod Time.now.strftime("%Y-%m-%d")
}
}