From 8070b8dd6170f178efea9734ea4b83525f2e221f Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 10 Oct 2019 10:47:03 +0000 Subject: [PATCH] sitemap.xml.gz -> index.xml.gz --- Rakefile | 4 ++-- public/robots.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index e055d622..addd7c72 100644 --- a/Rakefile +++ b/Rakefile @@ -570,8 +570,8 @@ task :generate_sitemap => [:environment] do end - # Final sitemap.xml.gz entrypoint - Zlib::GzipWriter.open File.join(sitemap_root, 'sitemap.xml.gz') do |gz| + # Final index.xml.gz entrypoint + Zlib::GzipWriter.open File.join(sitemap_root, 'index.xml.gz') do |gz| gz.write %{\n} gz.write %{\n} gz.write %{https://neocities.org/sitemap/root.xml.gz#{Time.now.utc.iso8601}\n} diff --git a/public/robots.txt b/public/robots.txt index b4b4b2fc..4994ee9d 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,3 @@ User-agent: * Allow: / -Sitemap: https://neocities.org/sitemap/sitemap.xml.gz +Sitemap: https://neocities.org/sitemap/index.xml.gz