Skip to content

fix: Hide duplicate h1 in chapter inline content#105

Merged
williamzujkowski merged 1 commit intomainfrom
fix/chapter-duplicate-heading
Mar 30, 2026
Merged

fix: Hide duplicate h1 in chapter inline content#105
williamzujkowski merged 1 commit intomainfrom
fix/chapter-duplicate-heading

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

Section headings appeared twice on chapter pages — once from our custom amber heading and once from the rendered markdown h1. Hides the duplicate with [&>h1]:hidden on the prose container. Found during live site spot-check.

The rendered markdown Content includes an h1 from the frontmatter title,
which duplicated our custom amber section heading. Hide it with
[&>h1]:hidden on the prose container.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@williamzujkowski williamzujkowski merged commit dce2445 into main Mar 30, 2026
@williamzujkowski williamzujkowski deleted the fix/chapter-duplicate-heading branch March 30, 2026 03:17
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.

1 participant