Add static sitemap.xml and robots.txt for Cloudflare Pages

Worker routes only cover api/*, memes/*, audio/*, styles.css — sitemap.xml
and robots.txt were falling through to Pages with no file to serve (404).
Google Search Console couldn't fetch the sitemap for this reason.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
King Omar 2026-07-12 13:50:27 +10:00
parent 786a23667d
commit 808de57b04
2 changed files with 11 additions and 0 deletions

3
robots.txt Normal file
View file

@ -0,0 +1,3 @@
User-agent: *
Allow: /
Sitemap: https://theradicalparty.com/sitemap.xml

8
sitemap.xml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://theradicalparty.com/</loc>
<changefreq>hourly</changefreq>
<priority>1.0</priority>
</url>
</urlset>