Obsidian Publish: Support custom files like rss.xml, sitemap.xml and robots.txt

Use case or problem

I would like to customize rss.xml, sitemap.xml and robots.txt files for my Obsidian Publish site.

Currently, theses files are generated automatically by Obsidian Publish, but I would like to include the following custom fields:

  • rss.xml: pubDate, content:encoded, dc:creator, media:content, webfeeds:featuredImage
  • sitemap.xml: changefreq, priority, lastmod
  • robots.txt: Sitemap, User-agent, Disallow

And a _redirects file like CloudFlare, Netlify & IPFS for custom redirects.

Proposed solution

Add the ability to publish custom files like rss.xml, sitemap.xml, robots.txt and _redirects via the Publish command.

Related feature requests