Skip to content

Conversation

daveverwer
Copy link
Contributor

Motivation:

RSS feed autodiscovery was only enabled on pages that explicitly set atom: true in their front matter, and the home page was the only page with that variable set.

Having feed autodiscovery limited to the home page unnecessarily hides the feed from automated services. At the very least, we should enable it on the blog index page and all blog posts. However, I think it's better to include it on every page.

The feed icon is in the footer on every page, so the autodiscovery should be there too.

Modifications:

  • Removed the conditional logic from both layout templates (_layouts/base.html and _layouts/new-layouts/base.html)
  • Removed the atom: true front matter variable from index.md, as it's no longer used

Result:

The RSS feed autodiscovery meta tag is now available on all pages of Swift.org.

@heckj heckj self-requested a review September 23, 2025 20:23
@shahmishal shahmishal merged commit 993b4cc into main Sep 24, 2025
4 checks passed
@shahmishal shahmishal deleted the add-rss-autodiscovery branch September 24, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants