Skip to content

RSS subscription + styled feed, and fix duplicate Pages deploy#2

Merged
foxis merged 7 commits into
mainfrom
feat/rss-subscribe
Jul 4, 2026
Merged

RSS subscription + styled feed, and fix duplicate Pages deploy#2
foxis merged 7 commits into
mainfrom
feat/rss-subscribe

Conversation

@foxis

@foxis foxis commented Jul 3, 2026

Copy link
Copy Markdown

Summary

  • RSS subscription in nav: enable the rss social entry in the EN/LT menus so the feed icon appears alongside the other social links and points to each language's home feed. Autodiscovery + per-section feeds were already emitted by the theme.
  • Human-readable feed: attach an xml-stylesheet PI to the feed and ship static/feed.xsl, so browsers render a styled page (title, posts, subscribe hint) instead of raw XML, while feed readers keep consuming the underlying RSS.
  • CI fix (root cause of the failed deploy): deploy main exactly once per push and drop the duplicate workflow_run trigger. Merging previously fired two competing Pages deployments (push + Run Tests hand-off) that raced in the pages concurrency group and caused the transient syncing_files → "try again later" failure.

Notes

  • Node 20 deprecation lines in the logs are non-blocking warnings; the runner already auto-runs those actions on Node 24.
  • Chromium removes native XSLT on 2026-11-17; after that the styled feed falls back to raw XML in Chrome/Edge (feed readers unaffected). Can swap to a dedicated HTML "Subscribe" page later if desired.

Test plan

  • Confirm the RSS icon shows in the nav (EN + LT) and links to index.xml / lt/index.xml.
  • Open the feed URL in a browser and confirm it renders the styled page (pre-2026-11-17).
  • Merge and confirm only a single Pages deployment runs and succeeds.

dlartisan and others added 7 commits July 3, 2026 23:39
Enable the rss entry in the EN/LT social menus so the feed icon appears in the
nav (github, ..., rss) and links to each language's home feed. RSS
autodiscovery link and per-section feeds were already emitted by the theme.

Co-authored-by: Cursor <cursoragent@cursor.com>
Attach an xml-stylesheet PI to the feed and ship static/feed.xsl so browsers
render a styled, readable page (title, posts, subscribe hint) instead of raw
XML, while feed readers keep consuming the underlying RSS. Note: Chromium
removes native XSLT on 2026-11-17, after which browsers fall back to raw XML.

Co-authored-by: Cursor <cursoragent@cursor.com>
Merging to main fired two competing Pages deployments — one from the push
trigger and one from the Run Tests workflow_run hand-off — which queued in the
pages concurrency group and raced, causing the transient syncing_files
"try again later" failure. Deploy on push to main (and manual dispatch) only;
the Go Run Tests suite is unrelated to the Hugo site so it should not gate it.

Co-authored-by: Cursor <cursoragent@cursor.com>
Reusable subscribe partial (single source of truth) rendered in a footer
override above the copyright, plus a {{< subscribe >}} shortcode wrapper for
in-content use. Labels are i18n-driven with EN/LT strings; styles live in
custom.css. The field has no id so the form stays valid if it appears twice
on a page (footer + shortcode).

Co-authored-by: Cursor <cursoragent@cursor.com>
… + sidebar

Replace the always-on footer form with a subscribe modal (native <dialog>)
rendered once per page via the body-end hook. Add an email icon among the
follow icons (header) and a "Get new posts by email" button under the sidebar
intro; both open the same modal. Modal reuses the subscribe partial, is
centered over a dimmed backdrop, and closes via the button, backdrop, or Esc.
Adds a "close" i18n string (EN/LT) and modal/trigger styles.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@foxis foxis merged commit d5c69a6 into main Jul 4, 2026
2 checks passed
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.

2 participants