Skip to content

fix: add XSLT stylesheet to style /feed.xml in browser#88

Open
nkatha23 wants to merge 1 commit intobitdevsnbo:masterfrom
nkatha23:fix/rss-feed-stylesheet
Open

fix: add XSLT stylesheet to style /feed.xml in browser#88
nkatha23 wants to merge 1 commit intobitdevsnbo:masterfrom
nkatha23:fix/rss-feed-stylesheet

Conversation

@nkatha23
Copy link
Copy Markdown

@nkatha23 nkatha23 commented Apr 3, 2026

Problem

Visiting /feed.xml shows raw unstyled XML, poor UX for anyone navigating there directly.

Fix

  • Overrides Jekyll's feed template (feed.xml) and Zola's feed template (templates/atom.xml) to inject an <?xml-stylesheet?> processing instruction
  • Adds feed.xslt.xml (Jekyll) and static/feed.xslt.xml (Zola) — XSLT stylesheets that render the feed as HTML using the site's design tokens
  • RSS readers are unaffected; Atom XML content is preserved

Closes #87

Visiting /feed.xml showed raw unstyled XML. Overrides the default
feed templates for both Jekyll and Zola to inject an
<?xml-stylesheet?> processing instruction, and adds feed.xslt.xml
to render the feed as HTML with site styling.

Fixes bitdevsnbo#87
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

@nkatha23 is attempting to deploy a commit to the BitDevsNBO Team on Vercel.

A member of the Team first needs to authorize it.

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.

fix: /feed.xml returns unstyled raw XML in the browser

1 participant