Skip to content

Emit site.standard.publication link tag from the package Layout - #64

Merged
RobbieTheWagner merged 1 commit into
mainfrom
claude/gallant-fermi-310d24
Aug 30, 2026
Merged

Emit site.standard.publication link tag from the package Layout#64
RobbieTheWagner merged 1 commit into
mainfrom
claude/gallant-fermi-310d24

Conversation

@RobbieTheWagner

Copy link
Copy Markdown
Member

The forked Layout in www-starpod emitted a site-wide <link rel="site.standard.publication"> tag on every page (home + episode pages) when STANDARD_SITE_DID and STANDARD_SITE_PUBLICATION_RKEY are set. Bluesky's AppView needs this tag to render shared links as a verified publication.

The package Layout lost this tag when www-starpod converted to consuming starpod from npm — the package only emitted the per-episode site.standard.document tag in [episode].astro and the /.well-known/site.standard.publication endpoint.

This ports the fork's implementation (www-starpod 846665e) into packages/starpod/src/layouts/Layout.astro: when both env vars are set, the AT-URI is built with getPublicationAtUri from @bryanguffey/astro-standard-site and rendered in the head via a Fragment with set:html, just before the head slot. Gated entirely on the env vars, so consumers without standard.site are unaffected.

Verified by building the reference site with and without the env vars: with them set, the tag renders on the home page and episode pages; without them, output is unchanged.

🤖 Generated with Claude Code

The forked Layout in www-starpod emitted a site-wide
<link rel="site.standard.publication"> tag on every page when
STANDARD_SITE_DID and STANDARD_SITE_PUBLICATION_RKEY are set, which
Bluesky's AppView needs to render shared links as a verified
publication. The package Layout lost this when www-starpod converted to
consuming starpod from npm — it only emitted the per-episode
site.standard.document tag and the well-known endpoint. Port the fork's
implementation (www-starpod 846665e) into the package Layout, gated
entirely on the env vars so consumers without standard.site are
unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@RobbieTheWagner RobbieTheWagner added the bug Something isn't working label Aug 30, 2026
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
starpod Ready Ready Preview Aug 30, 2026 12:36am

Request Review

@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 51 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ebc2ad61-17e4-4e5a-b9ee-62235b9f6e39

📥 Commits

Reviewing files that changed from the base of the PR and between 3d9a168 and 8d6d22c.

📒 Files selected for processing (1)
  • packages/starpod/src/layouts/Layout.astro

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RobbieTheWagner
RobbieTheWagner merged commit 58aeaa2 into main Aug 30, 2026
9 checks passed
@RobbieTheWagner
RobbieTheWagner deleted the claude/gallant-fermi-310d24 branch August 30, 2026 00:38
@github-actions github-actions Bot mentioned this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant