diff --git a/package.json b/package.json index 83519e0..8be1dda 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "astro dev", "build": "astro build", + "postbuild": "cp dist/sitemap-0.xml dist/sitemap.xml", "preview": "astro preview", "astro": "astro" }, diff --git a/public/robots.txt b/public/robots.txt index 79542e4..d6c801c 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,4 +1,4 @@ User-agent: * Allow: / -Sitemap: https://traverse-framework.com/sitemap-index.xml +Sitemap: https://traverse-framework.com/sitemap.xml diff --git a/public/sitemap.xml b/public/sitemap.xml deleted file mode 100644 index 6ef05bd..0000000 --- a/public/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://traverse-framework.com/sitemap-0.xml