fix(docs): remove duplicate page heading#618
Merged
Merged
Conversation
The Hextra theme renders the front-matter `title` as the page H1, but each content page also started with its own `# Heading` in the body — so every page (including the home) displayed the title twice. Drop the redundant body H1 from all content pages; the title now appears once. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On the published docs site every page showed its title twice — e.g. the home page rendered "SkyAPM .NET Agent" two times in a row.
Cause: the Hextra theme renders the front-matter
titleas the page<h1>, but each Markdown page also began with its own# Headingin the body → two identical H1s.Fix
Remove the redundant leading body
# H1from all 13 content pages; the heading now comes solely from the front-mattertitle(one<h1>per page).✅ Verified with
hugo --gc: exactly one<h1>per page (home, docs index, and guide pages).🤖 Generated with Claude Code