feat(tools): collapse SEO intros behind <details> disclosure#25
Merged
Conversation
The multi-paragraph prose on all seven tool pages is preserved in the DOM for search indexing but wrapped in a closed <details> element so users land directly on the tool widget. The <h1> and single lead sentence remain always visible. JSON-LD SoftwareApplication blocks and word counts are unchanged.
|
🚀 Preview deployed to: https://88b28cbf.gemmology-dev.pages.dev |
Bissbert
added a commit
that referenced
this pull request
May 11, 2026
The static <nav aria-label="Tool categories"> was duplicating the six category links already rendered by the ToolsHub client:load island. The collapsible SEO prose block added in PR #25 made the duplication visible; the plain nav has been removed so only ToolsHub remains.
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.
Summary
<details>element, closed by default, so users arrive directly at the tool widget rather than scrolling past a wall of text.<details>content is not hidden from Google.<h1>heading and single lead sentence above each<details>stay permanently visible for context.Files changed
src/pages/tools/index.astrosrc/pages/tools/measurement.astrosrc/pages/tools/optical.astrosrc/pages/tools/lab.astrosrc/pages/tools/identification.astrosrc/pages/tools/advanced.astrosrc/pages/tools/conversions.astroVerification
npm run buildpasses (912 pages built).<details>and aclass="prose"wrapper in the output HTML.SoftwareApplicationblocks are untouched.