mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
sitemap gen index missing a char
This commit is contained in:
parent
6d74434e9a
commit
8c24b9831c
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -547,7 +547,7 @@ task :generate_sitemap => [:environment] do
|
||||||
xml.sitemapindex(xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9') {
|
xml.sitemapindex(xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9') {
|
||||||
sorted_sites.keys.sort.each { |key|
|
sorted_sites.keys.sort.each { |key|
|
||||||
xml.sitemap {
|
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")
|
xml.lastmod Time.now.strftime("%Y-%m-%d")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue