Skip to content

Fix the one broken table-of-contents link - #293

Merged
kress04 merged 1 commit into
masterfrom
fix/jfokus-toc-anchor
Sep 7, 2026
Merged

Fix the one broken table-of-contents link#293
kress04 merged 1 commit into
masterfrom
fix/jfokus-toc-anchor

Conversation

@martinfrancois

Copy link
Copy Markdown
Contributor

_posts/2026-04-22-Jfokus.md lists "Conclusion: Setting the Standard for Modern Developer Conferences" in its table of contents, pointing at #jfokus-2026-modern-developer-conference-standard. That section had lost both its ## and its anchor, so it rendered as a plain paragraph and the link went nowhere.

Restored to match the file's own convention:

## <a name="jfokus-2026-modern-developer-conference-standard"></a> Setting the Standard for Modern Developer Conferences

How this was checked. Rather than comparing hrefs to heading ids, which gives false positives because these posts declare their own <a name=…> anchors, I built the site and drove Chromium through every table-of-contents link with Playwright, navigating to each fragment and asking the browser whether anything was :target and whether the page actually scrolled.

  • before: 119 of 120 links resolved, across the 13 posts that have a table of contents
  • after: 120 of 120

No other post needed a change.

The table of contents links to #jfokus-2026-modern-developer-conference-standard,
but that section had lost its '##' and its anchor, so the line rendered as a
paragraph and the link navigated nowhere. Every other entry in that post, and
every other table of contents on the blog, resolves correctly.

Verified in a real browser: all 120 table-of-contents links across the 13 posts
that have one now resolve to a target, up from 119.
@martinfrancois
martinfrancois requested a review from kress04 August 28, 2026 00:06
@martinfrancois martinfrancois self-assigned this Aug 28, 2026

@kress04 kress04 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good to me.

@kress04
kress04 merged commit a6a90c4 into master Sep 7, 2026
3 checks passed
@kress04
kress04 deleted the fix/jfokus-toc-anchor branch September 7, 2026 13:36
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