RSS
Starlight Blog automatically generates an RSS feed for your blog when the Astro site
option is set.
When defined, the following changes are made:
- An RSS feed is generated at
/blog/rss.xml
(can be customized with theprefix
option) - A sidebar link to the RSS feed is added to the blog
- A social link to the RSS feed is added to the Starlight header
- RSS feed auto-discovery is automatically configured
Configure your RSS feed
Set the Astro site
configuration option in the astro.config.mjs
file.
This will create a .xml
file for feed readers, add a sidebar link to the RSS feed, add the standard RSS icon to your website’s header and configure RSS feed auto-discovery.