Skip to content

misfits surface: real meta description on book pages#467

Merged
ChBrain merged 2 commits into
mainfrom
surface/misfits/meta-description
Jul 4, 2026
Merged

misfits surface: real meta description on book pages#467
ChBrain merged 2 commits into
mainfrom
surface/misfits/meta-description

Conversation

@ChBrain

@ChBrain ChBrain commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Misfit book pages passed a constant "" as description, which beats BaseLayout's default (that only applies to undefined) — so every page emitted <meta name="description" content="">.

Now: the meta description is the misfit's registry description (or its Arc section as fallback), HTML-stripped and clipped at 160 chars; when neither exists the prop is undefined so the layout default applies. Meta-only — the visible cover subtitle stays empty (the book is in the declared language, same rule as the plays book).

Verification: build + unit group green.

🤖 Generated with Claude Code

https://claude.ai/code/session_0176ZYTwoV8V4So9SBTizc5X


Generated by Claude Code

claude added 2 commits July 4, 2026 21:07
…btitle

The cover stays in the declared language (same rule as the plays book);
the English blurb feeds only the meta tag.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176ZYTwoV8V4So9SBTizc5X
@ChBrain
ChBrain force-pushed the surface/misfits/meta-description branch from 35e8ac0 to 201ef3c Compare July 4, 2026 19:07
@ChBrain
ChBrain merged commit 1199c91 into main Jul 4, 2026
35 checks passed
@ChBrain
ChBrain deleted the surface/misfits/meta-description branch July 4, 2026 19:12
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