site/blog: RSS link polish, feed author, landing auto-discovery#2683
Merged
Conversation
…very Three small follow-ups to the Atom-feed surfacing PR: - site/blog/build_blog.py (render_index): move the visible RSS link to its own line below the intro and style it to match the BLOG section label — mono, uppercase, amber (var(--amber)). Inline styles only, no CSS changes. - site/blog/build_blog.py (render_atom_feed): add <author><name>Boris Batkin</name></author> to the feed root. RFC 4287 recommends it; W3C feed validator warns without it; major readers display "no author" otherwise. - site/index.html, site/downloads.html: add the same <link rel="alternate" type="application/atom+xml"> auto-discovery tag the template-generated pages already carry, so a reader pointed at https://daslang.io/ or /downloads.html also finds blog/feed.xml. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Polishes Atom/RSS feed surfacing across the website by improving the blog index’s visible feed link styling, adding a required feed-level author to the generated Atom feed, and enabling feed auto-discovery from the landing and downloads pages.
Changes:
- Restyles the blog index’s visible “RSS” link to sit on its own line and match section-label styling.
- Adds a feed-level
<author>element to the generated Atom feed to satisfy RFC 4287 / validator expectations. - Adds Atom auto-discovery
<link rel="alternate" type="application/atom+xml">tags tosite/index.htmlandsite/downloads.html.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| site/index.html | Adds Atom feed auto-discovery link so readers can detect /blog/feed.xml from the landing page. |
| site/downloads.html | Adds Atom feed auto-discovery link so readers can detect /blog/feed.xml from the downloads page. |
| site/blog/build_blog.py | Adjusts blog index RSS link layout/styling and emits a feed-level Atom author element. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three small follow-ups to #2682 (Atom-feed surfacing):
site/blog/build_blog.py(render_index) — visible RSS link gets its own line below the intro paragraph and matches the styling of theBLOGsection label above it: mono, uppercase, amber (var(--amber)). Inline styles only; no CSS changes.site/blog/build_blog.py(render_atom_feed) — adds<author><name>Boris Batkin</name></author>to the feed root. RFC 4287 §4.1.1 requiresatom:authoreither at the feed level or on every entry; W3C feed validator warns without it; major readers display "no author" otherwise.site/index.html,site/downloads.html— adds the same<link rel="alternate" type="application/atom+xml">auto-discovery tag the template-generated pages already carry. Now a feed reader pointed athttps://daslang.io/or/downloads.html(in addition to anything under/blog/) discoversblog/feed.xml.Test plan
http://localhost:8000/blog/— RSS sits on its own line below the intro, mono uppercase amber, matching theBLOGlabel.head -8 site/blog/feed.xmlshows<author><name>Boris Batkin</name></author>after<id>.grep atom+xml site/index.html site/downloads.html site/blog/index.html site/changelist.htmlshows the link on every page type, with the correct relative path for each.pages.ymldeploys, pastehttps://daslang.io/into Feedly / NetNewsWire — it auto-discovers the feed.🤖 Generated with Claude Code